summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy.c')
-rw-r--r--apps/plugins/rockboy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/rockboy.c b/apps/plugins/rockboy.c
index e2ffc30d99..783e096214 100644
--- a/apps/plugins/rockboy.c
+++ b/apps/plugins/rockboy.c
@@ -74,7 +74,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
74 rb->lseek(fh, 0, SEEK_SET); 74 rb->lseek(fh, 0, SEEK_SET);
75 readsize = rb->read(fh, header.start_addr, header.end_addr - header.start_addr); 75 readsize = rb->read(fh, header.start_addr, header.end_addr - header.start_addr);
76 rb->close(fh); 76 rb->close(fh);
77 if (readsize <= sizeof(header)) 77 if (readsize <= (int)sizeof(header))
78 { 78 {
79 rb->splash(2*HZ, true, "Error loading " OVL_DISPLAYNAME " overlay."); 79 rb->splash(2*HZ, true, "Error loading " OVL_DISPLAYNAME " overlay.");
80 return PLUGIN_ERROR; 80 return PLUGIN_ERROR;