notaz.gp2x.de
/
gpsp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mask off arguments for write hadlers
[gpsp.git]
/
zip.c
diff --git
a/zip.c
b/zip.c
index
dd1d52c
..
32d8611
100644
(file)
--- a/
zip.c
+++ b/
zip.c
@@
-18,8
+18,8
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <zlib.h>
#include "common.h"
#include "common.h"
+#include <zlib.h>
#define ZIP_BUFFER_SIZE (128 * 1024)
#define ZIP_BUFFER_SIZE (128 * 1024)
@@
-46,11
+46,11
@@
struct SZIPFileHeader
u32 load_file_zip(char *filename)
{
struct SZIPFileHeader data;
u32 load_file_zip(char *filename)
{
struct SZIPFileHeader data;
-
u8
tmp[1024];
+
char
tmp[1024];
s32 retval = -1;
u8 *buffer = NULL;
u8 *cbuffer;
s32 retval = -1;
u8 *buffer = NULL;
u8 *cbuffer;
-
u8
*ext;
+
char
*ext;
file_open(fd, filename, read);
file_open(fd, filename, read);