summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'flash.c')
-rw-r--r--flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash.c b/flash.c
index 340c609..9bc9e9d 100644
--- a/flash.c
+++ b/flash.c
@@ -742,7 +742,7 @@ void initFlash(FlashStruct *mem, int starting_location)
g_print_debug ("initializing flash memory\n");
LCD_write(0,0,"Initialize Flash Memory ...");
- gchar *message = g_strdup_printf ("Initialize Flash Memory, %d - %ld", starting_location, sizeof(*mem));
+ gchar *message = g_strdup_printf ("Initialize Flash Memory, %d - %d", starting_location, (int) sizeof(*mem));
LCD_write(0,0,message);
g_free (message);