aboutsummaryrefslogtreecommitdiff
path: root/tests/compat_testutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compat_testutil.h')
-rw-r--r--tests/compat_testutil.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/compat_testutil.h b/tests/compat_testutil.h
index fd18cbad..00e7cb0b 100644
--- a/tests/compat_testutil.h
+++ b/tests/compat_testutil.h
@@ -222,10 +222,10 @@ test_addr_from(char *out, const char *proto, const char *ip, int port)
}
void
-nn_sleep(uint64_t msec)
+nn_sleep(int32_t msec)
{
- void nng_usleep(uint64_t);
- nng_usleep(msec * 1000);
+ void nng_msleep(int32_t);
+ nng_msleep(msec);
}
struct nn_thread {