diff options
Diffstat (limited to 'src/datastore/plugin_datastore_mysql.c')
-rw-r--r-- | src/datastore/plugin_datastore_mysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c index 4e5d8f9b06..150dc665c2 100644 --- a/src/datastore/plugin_datastore_mysql.c +++ b/src/datastore/plugin_datastore_mysql.c @@ -663,7 +663,7 @@ init_params (struct Plugin *plugin, memset (qbind, 0, sizeof (qbind)); off = 0; ft = 0; - while ((pc > 0) && (-1 != (ft = va_arg (ap, enum enum_field_types)))) + while ((pc > 0) && (-1 != (int) (ft = va_arg (ap, enum enum_field_types)))) { qbind[off].buffer_type = ft; switch (ft) @@ -694,7 +694,7 @@ init_params (struct Plugin *plugin, pc--; off++; } - if (!((pc == 0) && (ft != -1) && (va_arg (ap, int) == -1))) + if (! ( (pc == 0) && (-1 != (int) ft) && (va_arg (ap, int) == -1) ) ) { GNUNET_break (0); return GNUNET_SYSERR; |