diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-08-02 12:12:25 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-08-02 12:12:25 +0000 |
commit | c77b14571e96d1656ceb6da63827f59450a1b05c (patch) | |
tree | c2e9141ad4d223f4189d6822b67cd0b4dc890340 /rbutil/sansapatcher/bin2c.c | |
parent | 76635d55d1520e572c7f5408df444524e4aadb80 (diff) | |
download | rockbox-c77b14571e96d1656ceb6da63827f59450a1b05c.tar.gz 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.c | 1 |
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) | |||
72 | 72 | ||
73 | static int write_hfile(unsigned char* buf, off_t len, char* cname) | 73 | static int write_hfile(unsigned char* buf, off_t len, char* cname) |
74 | { | 74 | { |
75 | (void)buf; | ||
75 | char filename[256]; | 76 | char filename[256]; |
76 | FILE* fp; | 77 | FILE* fp; |
77 | 78 | ||