aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/exchangedb_denomkeys.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-29 18:04:04 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-29 20:57:18 +0100
commit2696688aa31bd058ebff6610660d7e6d607c6e50 (patch)
tree41c0b34d966fe0768abc92007e6b5205a0644bc2 /src/exchangedb/exchangedb_denomkeys.c
parent36efe024f55c3373344170f077b984f678aa4269 (diff)
fix compiler warnings
Diffstat (limited to 'src/exchangedb/exchangedb_denomkeys.c')
-rw-r--r--src/exchangedb/exchangedb_denomkeys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchangedb/exchangedb_denomkeys.c b/src/exchangedb/exchangedb_denomkeys.c
index 0584c2c6d..5a26ce6bd 100644
--- a/src/exchangedb/exchangedb_denomkeys.c
+++ b/src/exchangedb/exchangedb_denomkeys.c
@@ -134,7 +134,7 @@ TALER_EXCHANGEDB_denomination_key_read (const char *filename,
return GNUNET_SYSERR;
}
data = GNUNET_malloc (size);
- if (size !=
+ if (((ssize_t) size) !=
GNUNET_DISK_fn_read (filename,
data,
size))
@@ -217,14 +217,14 @@ TALER_EXCHANGEDB_denomination_key_write (const char *filename,
&dki->issue,
wsize)))
goto cleanup;
- if (wrote != wsize)
+ if (wrote != (ssize_t) wsize)
goto cleanup;
if (GNUNET_SYSERR ==
(wrote = GNUNET_DISK_file_write (fh,
priv_enc,
priv_enc_size)))
goto cleanup;
- if (wrote != priv_enc_size)
+ if (wrote != (ssize_t) priv_enc_size)
goto cleanup;
ret = GNUNET_OK;
cleanup: