commit 334ef92c6ef293678d11762544f061dc124445be
parent b9ee1fdb3fdc21bb0e9f8cd4e3b2ddaceb17865b
Author: cnlohr <charles@cnlohr.com>
Date: Wed, 11 Jul 2018 10:20:44 -0400
Fix format specifier to printf for status.
Diffstat:
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/cnping.c b/cnping.c
@@ -348,7 +348,7 @@ void DrawFrameHistogram()
CNFGDrawText( stbuf, 2 );
}
char stt[1024];
- snprintf( stt, 1024, "Host: %s\nHistorical max %9.2fms\nBiggest interval%9.2fms\nHistorical packet loss %lu/%lu = %6.2f%%", pinghost, globmaxtime*1000.0, globinterval*1000.0, globallost, globalrx, globallost*100.0/(globalrx+globallost) );
+ snprintf( stt, 1024, "Host: %s\nHistorical max %9.2fms\nBiggest interval%9.2fms\nHistorical packet loss %llu/%llu = %6.2f%%", pinghost, globmaxtime*1000.0, globinterval*1000.0, globallost, globalrx, globallost*100.0/(globalrx+globallost) );
if( !in_frame_mode )
DrawMainText( stt );
return;
diff --git a/cnping.exe b/cnping.exe
Binary files differ.