]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a compilation warning in the unit tests
authorNick Mathewson <nickm@torproject.org>
Thu, 15 Jan 2015 17:56:57 +0000 (12:56 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 15 Jan 2015 17:56:57 +0000 (12:56 -0500)
src/test/test_relaycell.c

index 5deb36260fce980900a991c30a96753802a52e7b..9aff6ab49eb32fedb320dbaa0c3f92bba350a11d 100644 (file)
@@ -104,7 +104,7 @@ test_relaycell_resolved(void *arg)
       tt_int_op(srm_answer_is_set, ==, 0);                        \
     }                                                             \
     tt_int_op(srm_ttl, ==, ttl);                                  \
-    tt_int_op(srm_expires, ==, expires);                          \
+    tt_i64_op((int64_t)srm_expires, ==, (int64_t)expires);        \
   } while (0)
 
   (void)arg;