diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-03-23 18:51:15 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-03-23 18:51:15 -0400 |
commit | 80e9ca411f8822fc7c2ca882cb0fc8d422ebedbf (patch) | |
tree | c4e4f09384803fe50fc9a036a2c4c150eebdb4c7 /src/test/test_crypto.c | |
parent | 9a6514ce4f35bee5e083de39466772f535f7f045 (diff) | |
parent | 8b6a952c94bbc7bd3a9dc3356e708654092e08af (diff) | |
download | tor-80e9ca411f8822fc7c2ca882cb0fc8d422ebedbf.tar.gz tor-80e9ca411f8822fc7c2ca882cb0fc8d422ebedbf.zip |
Merge remote-tracking branch 'origin/maint-0.2.4'
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 645fc9f8a6..cc5af52e97 100644 --- a/src/test/test_crypto.c +++ b/src/test/test_crypto.c @@ -1069,7 +1069,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: |