mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
Fixed compilation error with GCC/Clang
src/scripting/zscript/zcc_compile.cpp:1039:11: error: no viable conversion from 'FName' to 'FString'
This commit is contained in:
parent
b3aa7c61a9
commit
799f6c6e26
1 changed files with 1 additions and 1 deletions
|
@ -1036,7 +1036,7 @@ bool ZCCCompiler::CompileFields(PStruct *type, TArray<ZCC_VarDeclarator *> &Fiel
|
||||||
{
|
{
|
||||||
auto field = Fields[0];
|
auto field = Fields[0];
|
||||||
FieldDesc *fd = nullptr;
|
FieldDesc *fd = nullptr;
|
||||||
FString str = FName(field->Names[0].Name);
|
FString str = FName(field->Names[0].Name).GetChars();
|
||||||
|
|
||||||
PType *fieldtype = DetermineType(type, field, field->Names->Name, field->Type, true, true);
|
PType *fieldtype = DetermineType(type, field, field->Names->Name, field->Type, true, true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue