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

Solution: remove debug printf line completely
This commit is contained in:
Constantin Rack 2016-01-20 19:30:21 +01:00
parent b7d42a4c4b
commit 5c9bd5f0cb

View File

@ -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)
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);