From e0d5989bef1c846dbb97aec88549ea99426befa8 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 10 Mar 2016 22:47:34 +0100 Subject: [PATCH] Now a GCC compilation fix ... --- radio/src/gui/horus/widget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/horus/widget.h b/radio/src/gui/horus/widget.h index 51afba753..69f9a0aaa 100644 --- a/radio/src/gui/horus/widget.h +++ b/radio/src/gui/horus/widget.h @@ -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