Browse Source

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 years ago
parent
commit
431f121e35
1 changed files with 1 additions and 1 deletions
  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