From a54ab43b7c7430e7a24855b89f4b3edb902e61d2 Mon Sep 17 00:00:00 2001 From: grothoff Date: Wed, 6 Oct 2010 10:04:41 +0000 Subject: fix git-svn-id: https://gnunet.org/svn/gnunet@13179 140774ce-b5e7-0310-ab8b-a85725594a96 --- src/datacache/plugin_datacache_mysql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/datacache/plugin_datacache_mysql.c') 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; -- cgit v1.2.3-70-g09d2