[tor-commits] [tor/master] One more 32-bit clang warning

nickm at torproject.org nickm at torproject.org
Thu Jan 24 20:23:11 UTC 2019


commit d9010c5b67a60e9f0b9051ba6597005e33e58266
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Jan 24 15:23:06 2019 -0500

    One more 32-bit clang warning
---
 src/test/test_process_slow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_process_slow.c b/src/test/test_process_slow.c
index d7cce5949..1322d7b83 100644
--- a/src/test/test_process_slow.c
+++ b/src/test/test_process_slow.c
@@ -240,7 +240,7 @@ test_callbacks(void *arg)
   tt_int_op(smartlist_len(process_data->stdout_data), OP_EQ, 12);
   tt_int_op(smartlist_len(process_data->stderr_data), OP_EQ, 3);
   tt_assert(process_data->did_exit);
-  tt_int_op(process_data->exit_code, OP_EQ, 0);
+  tt_u64_op(process_data->exit_code, OP_EQ, 0);
 
   /* Check stdout output. */
   char argv0_expected[256];



More information about the tor-commits mailing list