diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-03-23 18:50:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-03-23 18:50:21 -0400 |
commit | 8b6a952c94bbc7bd3a9dc3356e708654092e08af (patch) | |
tree | cc931a057261776772ad897c525234acafce399a /src/test/test_crypto.c | |
parent | 1b6b8b05642cfa5e951a8b25233191a1ab8dda2f (diff) | |
download | tor-8b6a952c94bbc7bd3a9dc3356e708654092e08af.tar.gz tor-8b6a952c94bbc7bd3a9dc3356e708654092e08af.zip |
Avoid clang warnings from implicit off_t->size_t cast
Diffstat (limited to 'src/test/test_crypto.c')
-rw-r--r-- | src/test/test_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c index c531c60838..fcaa0813e7 100644 --- a/src/test/test_crypto.c +++ b/src/test/test_crypto.c @@ -1097,7 +1097,7 @@ test_crypto_curve25519_persist(void *arg) tor_free(tag); content[69] ^= 0xff; - tt_int_op(0, ==, write_bytes_to_file(fname, content, st.st_size, 1)); + tt_int_op(0, ==, write_bytes_to_file(fname, content, (size_t)st.st_size, 1)); tt_int_op(-1, ==, curve25519_keypair_read_from_file(&keypair2, &tag, fname)); done: |