Просмотр исходного кода

ups the #pragma pack call from 4 to 8 when using 64bit, as per suggested settings. This shaves off a lot of compatibility warnings.

Areloch 8 лет назад
Родитель
Сommit
431f121e35
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Engine/source/console/engineFunctions.h

+ 1 - 1
Engine/source/console/engineFunctions.h

@@ -80,7 +80,7 @@ struct EngineFunctionDefaultArguments
 
 
 // Need byte-aligned packing for the default argument structures.
 // Need byte-aligned packing for the default argument structures.
 #ifdef _WIN64
 #ifdef _WIN64
-#pragma pack( push, 4 )
+#pragma pack( push, 8 )
 #else
 #else
 #pragma pack( push, 1 )
 #pragma pack( push, 1 )
 #endif
 #endif