From adda58ffd0cc414aa6e84ecdba56c232c5bf956e Mon Sep 17 00:00:00 2001 From: akuker Date: Sun, 16 Aug 2020 19:12:08 -0500 Subject: [PATCH] Fix warning --- src/raspberrypi/rasctl_command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raspberrypi/rasctl_command.cpp b/src/raspberrypi/rasctl_command.cpp index e2d13a4..6a510e6 100644 --- a/src/raspberrypi/rasctl_command.cpp +++ b/src/raspberrypi/rasctl_command.cpp @@ -146,7 +146,7 @@ BOOL Rasctl_Command::IsValid(FILE *fp){ } // Check that the file is 1 byte or larger if(stat_buffer.st_size < 1){ - FPRT(fp, "File must not be empty. %s is %ld bytes in size",file,stat_buffer.st_size); + FPRT(fp, "File must not be empty. %s is %lld bytes in size",file,stat_buffer.st_size); return FALSE; } }