aboutsummaryrefslogtreecommitdiff
path: root/src/datacache
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-10-06 10:04:41 +0000
committerChristian Grothoff <christian@grothoff.org>2010-10-06 10:04:41 +0000
commit8f092bda5144daeff7fd1735a1f49d50a7a1d027 (patch)
tree3c1e15f98da39718b81179d1a679e6d0836dcc9f /src/datacache
parent7fb21027ff8726fec229ef0a55b84263be0c18d0 (diff)
downloadgnunet-8f092bda5144daeff7fd1735a1f49d50a7a1d027.tar.gz
gnunet-8f092bda5144daeff7fd1735a1f49d50a7a1d027.zip
fix
Diffstat (limited to 'src/datacache')
-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 267ea9d3d..a85e9f480 100644
--- a/src/datacache/plugin_datacache_mysql.c
+++ b/src/datacache/plugin_datacache_mysql.c
@@ -479,7 +479,7 @@ init_params (struct Plugin *plugin,
479 memset (qbind, 0, sizeof (qbind)); 479 memset (qbind, 0, sizeof (qbind));
480 off = 0; 480 off = 0;
481 ft = 0; 481 ft = 0;
482 while ((pc > 0) && (-1 != (ft = va_arg (ap, enum enum_field_types)))) 482 while ( (pc > 0) && (-1 != (int) (ft = va_arg (ap, enum enum_field_types))) )
483 { 483 {
484 qbind[off].buffer_type = ft; 484 qbind[off].buffer_type = ft;
485 switch (ft) 485 switch (ft)
@@ -510,7 +510,7 @@ init_params (struct Plugin *plugin,
510 pc--; 510 pc--;
511 off++; 511 off++;
512 } 512 }
513 if (!((pc == 0) && (ft != -1) && (va_arg (ap, int) == -1))) 513 if (! ( (pc == 0) && (-1 != (int) ft) && (va_arg (ap, int) == -1)) )
514 { 514 {
515 GNUNET_break (0); 515 GNUNET_break (0);
516 return GNUNET_SYSERR; 516 return GNUNET_SYSERR;