diff options
Diffstat (limited to 'src/exchangedb/exchangedb_denomkeys.c')
-rw-r--r-- | src/exchangedb/exchangedb_denomkeys.c | 6 |
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: |