Commit 5c9bd5f0 authored by Constantin Rack's avatar Constantin Rack

Problem: SIZE_MAX is not defined in all stdint.h includes

Solution: remove debug printf line completely
parent b7d42a4c
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
*/ */
#include <limits.h> #include <limits.h>
#include <stdint.h>
#include "testutil.hpp" #include "testutil.hpp"
int main (void) int main (void)
...@@ -49,7 +48,6 @@ int main (void) ...@@ -49,7 +48,6 @@ int main (void)
zmq_msg_t msg, rcv; zmq_msg_t msg, rcv;
size_t big = 64 + (size_t) INT_MAX; size_t big = 64 + (size_t) INT_MAX;
printf("Large msg: %u %llu %lu\n", INT_MAX, SIZE_MAX, big);
rc = zmq_msg_init_size (&msg, big); rc = zmq_msg_init_size (&msg, big);
assert (rc == 0); assert (rc == 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment