mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-09-04 13:59:04 +00:00
Get rid of PreferenceDescription packing
Fixes pointer alignment warnings.
This commit is contained in:
parent
bc43bdc99c
commit
e7d68c4f72
@ -107,7 +107,6 @@ typedef enum PreferencesWindowFrm {
|
||||
PREFERENCES_WINDOW_FRM_COUNT,
|
||||
} PreferencesWindowFrm;
|
||||
|
||||
#pragma pack(2)
|
||||
typedef struct PreferenceDescription {
|
||||
// The number of options.
|
||||
short valuesCount;
|
||||
@ -129,7 +128,6 @@ typedef struct PreferenceDescription {
|
||||
double maxValue;
|
||||
int* valuePtr;
|
||||
} PreferenceDescription;
|
||||
#pragma pack()
|
||||
|
||||
static int optionsWindowInit();
|
||||
static int optionsWindowFree();
|
||||
|
Loading…
Reference in New Issue
Block a user