diff options
| author | 2013-02-01 08:31:09 +0000 | |
|---|---|---|
| committer | 2013-02-01 08:31:09 +0000 | |
| commit | 582ec9dce4f2d18adaa00a33e75b9b0b122612ca (patch) | |
| tree | c4d9e0759f7b75abd943b484ca63e1a476983155 /src/lib/zlib | |
| parent | 55c4155a198ea9a4040bfa1029d25b36f2201218 (diff) | |
fixed typo in previous commit / fixed DEBUG compilation of pmwinmm.c and zlib
Diffstat (limited to 'src/lib/zlib')
| -rw-r--r-- | src/lib/zlib/zutil.c | 2 | ||||
| -rw-r--r-- | src/lib/zlib/zutil.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/zlib/zutil.c b/src/lib/zlib/zutil.c index a412eeaa03c..0ff49fc9a2e 100644 --- a/src/lib/zlib/zutil.c +++ b/src/lib/zlib/zutil.c @@ -123,7 +123,7 @@ uLong ZEXPORT zlibCompileFlags() int ZLIB_INTERNAL z_verbose = verbose; void ZLIB_INTERNAL z_error (m) - char *m; + const char *m; { fprintf(stderr, "%s\n", m); exit(1); diff --git a/src/lib/zlib/zutil.h b/src/lib/zlib/zutil.h index 72df5358db9..e209ff1d2ad 100644 --- a/src/lib/zlib/zutil.h +++ b/src/lib/zlib/zutil.h @@ -218,7 +218,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ #ifdef DEBUG # include <stdio.h> extern int ZLIB_INTERNAL z_verbose; - extern void ZLIB_INTERNAL z_error OF((char *m)); + extern void ZLIB_INTERNAL z_error OF((const char *m)); # define Assert(cond,msg) {if(!(cond)) z_error(msg);} # define Trace(x) {if (z_verbose>=0) fprintf x ;} # define Tracev(x) {if (z_verbose>0) fprintf x ;} |
