]> granicus.if.org Git - libevent/commitdiff
Fix up test_evutil_snprintf
authorNick Mathewson <nickm@torproject.org>
Tue, 5 Jul 2011 18:55:09 +0000 (14:55 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 5 Jul 2011 18:55:09 +0000 (14:55 -0400)
test/regress_util.c

index f8ceb497c09107af72550d2c20eed0ad248f6914..effbcc2b75689fca5f30088cdb6921eed9c3cda1 100644 (file)
@@ -381,7 +381,7 @@ test_evutil_snprintf(void *ptr)
        char buf[16];
        int r;
        ev_uint64_t u64 = ((ev_uint64_t)1000000000)*200;
-       ev_uint64_t i64 = -1 * (ev_int64_t) u64;
+       ev_int64_t i64 = -1 * (ev_int64_t) u64;
        size_t size = 8000;
        ev_ssize_t ssize = -9000;