diff options
Diffstat (limited to 'tests/sock.c')
| -rw-r--r-- | tests/sock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sock.c b/tests/sock.c index bec62817..4ac2fe35 100644 --- a/tests/sock.c +++ b/tests/sock.c @@ -175,7 +175,8 @@ Main({ So(rmax == 6550); if (sizeof(size_t) == 8) { - rmax = 0x1000000000000ull; + rmax = 0x10000; + rmax <<= 30; So(nng_setopt(sock, NNG_OPT_RCVMAXSZ, &rmax, sizeof(rmax)) == |
