mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-03 12:58:05 +01:00
Problem: SIZE_MAX is not defined in all stdint.h includes
Solution: remove debug printf line completely
This commit is contained in:
parent
b7d42a4c4b
commit
5c9bd5f0cb
@ -28,7 +28,6 @@
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include "testutil.hpp"
|
||||
|
||||
int main (void)
|
||||
@ -49,7 +48,6 @@ int main (void)
|
||||
|
||||
zmq_msg_t msg, rcv;
|
||||
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);
|
||||
assert (rc == 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user