summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:14:25 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:14:25 -0500
commitece0ad7e660b2285dda7d9bd52dd07d8eb2dd479 (patch)
treeb25b15f8d8b4c4c6218ce553f651af4b6ae60b2b /flash.c
parentfb5c5c55c52772f3117be92c645646e927c78979 (diff)
fix flash init reporting on LCD
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);