diff --git a/test/regress.c b/test/regress.c index 7d3540e7..460ed581 100644 --- a/test/regress.c +++ b/test/regress.c @@ -2264,13 +2264,12 @@ test_event_once_never(void *ptr) { struct basic_test_data *data = ptr; struct timeval tv; - int r; /* Have one trigger in 10 seconds (don't worry, because) */ tv.tv_sec = 10; tv.tv_usec = 0; called = 0; - r = event_base_once(data->base, -1, EV_TIMEOUT, + event_base_once(data->base, -1, EV_TIMEOUT, timeout_called_once_cb, NULL, &tv); /* But shut down the base in 75 msec. */ diff --git a/test/regress_ssl.c b/test/regress_ssl.c index 005e061b..acf2bd67 100644 --- a/test/regress_ssl.c +++ b/test/regress_ssl.c @@ -159,7 +159,7 @@ init_ssl(void) SSL_load_error_strings(); OpenSSL_add_all_algorithms(); if (SSLeay() != OPENSSL_VERSION_NUMBER) { - TT_DECLARE("WARN", ("Version mismatch for openssl: compiled with %lx but running with %lx", OPENSSL_VERSION_NUMBER, SSLeay())); + TT_DECLARE("WARN", ("Version mismatch for openssl: compiled with %lx but running with %lx", (unsigned long)OPENSSL_VERSION_NUMBER, (unsigned long) SSLeay())); } }