diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-08-03 11:31:04 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-08-03 11:31:04 -0400 |
commit | 6c64681879cca488c2cc017b99ed1e7104da5049 (patch) | |
tree | 26060e42c99d622fd30e5a78404a4ac1070f12e1 /src/test/test_replay.c | |
parent | babf8e2a859f56befa9a9f8da6697a954ce53f7c (diff) | |
download | tor-6c64681879cca488c2cc017b99ed1e7104da5049.tar.gz tor-6c64681879cca488c2cc017b99ed1e7104da5049.zip |
Fix a bunch of "implicit 64->32" warnings from introduce refactoring
Diffstat (limited to 'src/test/test_replay.c')
-rw-r--r-- | src/test/test_replay.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/test/test_replay.c b/src/test/test_replay.c index 217b5554d5..b08818f06b 100644 --- a/src/test/test_replay.c +++ b/src/test/test_replay.c @@ -44,7 +44,7 @@ test_replaycache_miss(void) result = replaycache_add_and_test_internal(1200, r, test_buffer, - strlen(test_buffer), NULL); + (int)strlen(test_buffer), NULL); test_eq(result, 0); done: @@ -65,12 +65,12 @@ test_replaycache_hit(void) result = replaycache_add_and_test_internal(1200, r, test_buffer, - strlen(test_buffer), NULL); + (int)strlen(test_buffer), NULL); test_eq(result, 0); result = replaycache_add_and_test_internal(1300, r, test_buffer, - strlen(test_buffer), NULL); + (int)strlen(test_buffer), NULL); test_eq(result, 1); done: @@ -91,17 +91,17 @@ test_replaycache_age(void) result = replaycache_add_and_test_internal(1200, r, test_buffer, - strlen(test_buffer), NULL); + (int)strlen(test_buffer), NULL); test_eq(result, 0); result = replaycache_add_and_test_internal(1300, r, test_buffer, - strlen(test_buffer), NULL); + (int)strlen(test_buffer), NULL); test_eq(result, 1); result = replaycache_add_and_test_internal(3000, r, test_buffer, - strlen(test_buffer), NULL); + (int)strlen(test_buffer), NULL); test_eq(result, 0); done: @@ -123,12 +123,12 @@ test_replaycache_elapsed(void) result = replaycache_add_and_test_internal(1200, r, test_buffer, - strlen(test_buffer), NULL); + (int)strlen(test_buffer), NULL); test_eq(result, 0); result = replaycache_add_and_test_internal(1300, r, test_buffer, - strlen(test_buffer), &elapsed); + (int)strlen(test_buffer), &elapsed); test_eq(result, 1); test_eq(elapsed, 100); @@ -150,17 +150,17 @@ test_replaycache_noexpire(void) result = replaycache_add_and_test_internal(1200, r, test_buffer, - strlen(test_buffer), NULL); + (int)strlen(test_buffer), NULL); test_eq(result, 0); result = replaycache_add_and_test_internal(1300, r, test_buffer, - strlen(test_buffer), NULL); + (int)strlen(test_buffer), NULL); test_eq(result, 1); result = replaycache_add_and_test_internal(3000, r, test_buffer, - strlen(test_buffer), NULL); + (int)strlen(test_buffer), NULL); test_eq(result, 1); done: |