From: Rob Norris Date: Thu, 5 Nov 2015 17:52:18 +0000 (+0000) Subject: Simplify filter actually uses the unsigned integer value. X-Git-Url: https://git.street.me.uk/andy/viking.git/commitdiff_plain/2fcb1893f1082cf325038878f27740b7cbe45814 Simplify filter actually uses the unsigned integer value. --- diff --git a/src/datasource_bfilter.c b/src/datasource_bfilter.c index 6b1f7add..c43e3788 100644 --- a/src/datasource_bfilter.c +++ b/src/datasource_bfilter.c @@ -46,7 +46,7 @@ VikLayerParamData bfilter_simplify_params_defaults[] = { /* Annoyingly 'C' cannot initialize unions properly */ /* It's dependent on the standard used or the compiler support... */ #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L || __GNUC__ - { .i = 100 }, + { .u = 100 }, #else { 100 }, #endif