Skip to content

Commit

Permalink
Fix integer types for 32bit build
Browse files Browse the repository at this point in the history
  • Loading branch information
George Cockshull committed Oct 12, 2023
1 parent 380eb28 commit 49553eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_proxy_steerable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <stdlib.h>
#include <string.h>
#include <inttypes.h>

#define CONTENT_SIZE 13
#define CONTENT_SIZE_MAX 32
Expand Down Expand Up @@ -360,7 +361,7 @@ uint64_t statistics (void *proxy_control, const char *runctx)
zmq_atomic_counter_value (g_clients_pkts_out),
zmq_atomic_counter_value (g_workers_pkts_out));
}
printf ("%lu ", val);
printf ("%" PRIu64, val);
if (count == 7) {
printf ("}\n");
}
Expand Down

0 comments on commit 49553eb

Please sign in to comment.