[Projeler-commits] r461 - zipir
projeler-commits at pardus.org.tr
projeler-commits at pardus.org.tr
21 Nis 2008 Pzt 11:19:52 EEST
Author: onur
Date: Mon Apr 21 11:19:52 2008
New Revision: 461
Modified:
zipir/zipir.c
Log:
fix signedness make gcc 4 happy
Modified: zipir/zipir.c
=================================================================
--- zipir/zipir.c (original)
+++ zipir/zipir.c Mon Apr 21 11:19:52 2008
@@ -406,7 +406,7 @@
{
struct zipfile *zfile;
FILE *file_to_write;
- char *fbuf;
+ unsigned char *fbuf;
zfile = find_file (z, name);
if (!zfile) return ZIP_NOFILE;
@@ -419,7 +419,7 @@
fbuf = malloc (zfile->real_size);
if (zfile->zip_size < zfile->real_size) {
- char *zip_buf;
+ unsigned char *zip_buf;
z_stream zs;
zs.zalloc = NULL;
zs.zfree = NULL;
Projeler-commits mesaj listesiyle ilgili
daha fazla bilgi