summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher/bin2c.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-08-02 12:12:25 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-08-02 12:12:25 +0000
commitc77b14571e96d1656ceb6da63827f59450a1b05c (patch)
treec2e9141ad4d223f4189d6822b67cd0b4dc890340 /rbutil/sansapatcher/bin2c.c
parent76635d55d1520e572c7f5408df444524e4aadb80 (diff)
downloadrockbox-c77b14571e96d1656ceb6da63827f59450a1b05c.tar.gz
rockbox-c77b14571e96d1656ceb6da63827f59450a1b05c.tar.bz2
rockbox-c77b14571e96d1656ceb6da63827f59450a1b05c.zip
Fix a couple of warnings. Also fix a bug where the offset wasn't being reported right in errors when it was past 4GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14140 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/sansapatcher/bin2c.c')
-rw-r--r--rbutil/sansapatcher/bin2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/sansapatcher/bin2c.c b/rbutil/sansapatcher/bin2c.c
index 6aa3e49f69..a9ff6743f5 100644
--- a/rbutil/sansapatcher/bin2c.c
+++ b/rbutil/sansapatcher/bin2c.c
@@ -72,6 +72,7 @@ static int write_cfile(unsigned char* buf, off_t len, char* cname)
static int write_hfile(unsigned char* buf, off_t len, char* cname)
{
+ (void)buf;
char filename[256];
FILE* fp;