]> git.street.me.uk Git - andy/viking.git/commitdiff
Simplify filter actually uses the unsigned integer value.
authorRob Norris <rw_norris@hotmail.com>
Thu, 5 Nov 2015 17:52:18 +0000 (17:52 +0000)
committerRob Norris <rw_norris@hotmail.com>
Sun, 8 Nov 2015 17:40:08 +0000 (17:40 +0000)
src/datasource_bfilter.c

index 6b1f7add5ebf8a2fe24df441bf4371f91c909678..c43e37880fce969d69636eafcae94cc643653e47 100644 (file)
@@ -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