From 49553ebb1fcd3d360d5432fddb0583805c14cdf0 Mon Sep 17 00:00:00 2001 From: George Cockshull Date: Thu, 12 Oct 2023 15:05:43 -0400 Subject: [PATCH] Fix integer types for 32bit build --- tests/test_proxy_steerable.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_proxy_steerable.cpp b/tests/test_proxy_steerable.cpp index 180aacc4b7..37837b0ffd 100644 --- a/tests/test_proxy_steerable.cpp +++ b/tests/test_proxy_steerable.cpp @@ -5,6 +5,7 @@ #include #include +#include #define CONTENT_SIZE 13 #define CONTENT_SIZE_MAX 32 @@ -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"); }