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/common | |
parent | 1b6b8b05642cfa5e951a8b25233191a1ab8dda2f (diff) | |
download | tor-8b6a952c94bbc7bd3a9dc3356e708654092e08af.tar tor-8b6a952c94bbc7bd3a9dc3356e708654092e08af.tar.gz |
Avoid clang warnings from implicit off_t->size_t cast
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/crypto_curve25519.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto_curve25519.c b/src/common/crypto_curve25519.c index 3e4004db2..88c723f37 100644 --- a/src/common/crypto_curve25519.c +++ b/src/common/crypto_curve25519.c @@ -169,7 +169,7 @@ curve25519_keypair_read_from_file(curve25519_keypair_t *keypair_out, end: if (content) { - memwipe(content, 0, st.st_size); + memwipe(content, 0, (size_t) st.st_size); tor_free(content); } if (r != 0) { |