Now a GCC compilation fix ...

This commit is contained in:
Bertrand Songis
2016-03-10 22:47:34 +01:00
parent 41a6e7c4ab
commit e0d5989bef
+1 -1
View File
@@ -49,7 +49,7 @@ union ZoneOptionValue
#define OPTION_DEFAULT_VALUE_UNSIGNED(x) { .unsignedValue = (x) }
#define OPTION_DEFAULT_VALUE_SIGNED(x) { .signedValue = (x) }
#define OPTION_DEFAULT_VALUE_BOOL(x) { .boolValue = (x) }
#define OPTION_DEFAULT_VALUE_STRING(...) { .stringValue = *(ZoneOptionValue *)(const char *)__VA_ARGS__ }
#define OPTION_DEFAULT_VALUE_STRING(...) *(ZoneOptionValue *)(const char *)__VA_ARGS__
#endif
struct ZoneOption