diff Discovery/Src/show_logbook.c @ 457:4bd01f48c285 minor_improvments

Eliminated some minor warnings
author ideenmodellierer
date Tue, 24 Mar 2020 22:32:48 +0100
parents 5a633dece17a
children eea282e733e8
line wrap: on
line diff
--- a/Discovery/Src/show_logbook.c	Tue Mar 24 22:14:16 2020 +0100
+++ b/Discovery/Src/show_logbook.c	Tue Mar 24 22:32:48 2020 +0100
@@ -458,7 +458,7 @@
         if(logNumber > 9999)
             logNumber = 9999;
 
-        snprintf(text,20,"#%i",logNumber);
+        snprintf(text,20,"#%ld",logNumber);
         Gfx_write_label_var(hgfx, 300, 590,10, &FontT42,CLUT_GasSensor1,text);
     }