aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/plugin_datacache_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datacache/plugin_datacache_mysql.c')
-rw-r--r--src/datacache/plugin_datacache_mysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_mysql.c b/src/datacache/plugin_datacache_mysql.c
index 267ea9d3d5..a85e9f4802 100644
--- a/src/datacache/plugin_datacache_mysql.c
+++ b/src/datacache/plugin_datacache_mysql.c
@@ -479,7 +479,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)
@@ -510,7 +510,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;