From a97ac50b0137ca428e68bbf25c0f3fcb051b3a46 Mon Sep 17 00:00:00 2001 From: Jeremy Lorelli Date: Sun, 4 May 2025 21:50:19 -0700 Subject: [PATCH] Fix printf format warning --- src/ioc/reftrackioc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ioc/reftrackioc.cpp b/src/ioc/reftrackioc.cpp index b5138fb..8ad7960 100644 --- a/src/ioc/reftrackioc.cpp +++ b/src/ioc/reftrackioc.cpp @@ -25,7 +25,7 @@ void showRefs(const epics::RefSnapshot& snap, int lvl, bool delta) if(it->second.current==0 && it->second.delta==0 && lvl<=0) continue; if(delta && it->second.delta==0 && lvl<=0) continue; if(delta) { - printf(" %s : %zu (delta %zd)\n", + printf(" %s : %zu (delta %ld)\n", it->first.c_str(), it->second.current, it->second.delta); } else { printf(" %s : %zu\n", it->first.c_str(), it->second.current);