diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-01-09 01:03:21 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-01-09 01:03:21 +0000 |
commit | 186d468588268d91a5f59793c80d44380e822481 (patch) | |
tree | b0f98c7b62a740f3e9a54a1f3b291cf853193754 | |
parent | a991de3730da92745689cec8d2f64aa5b795c76a (diff) | |
download | rockbox-186d468588268d91a5f59793c80d44380e822481.tar.gz rockbox-186d468588268d91a5f59793c80d44380e822481.zip |
Fixed a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8310 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/rockboy.c | 2 |
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; |