Explorar el Código

Fix a compilation warning in the unit tests

Nick Mathewson hace 9 años
padre
commit
2329d9fe37
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/test/test_relaycell.c

+ 1 - 1
src/test/test_relaycell.c

@@ -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;