diff options
Diffstat (limited to 'src/WrFFrI.c')
-rw-r--r-- | src/WrFFrI.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WrFFrI.c b/src/WrFFrI.c index d074516..bf47481 100644 --- a/src/WrFFrI.c +++ b/src/WrFFrI.c @@ -63,7 +63,7 @@ LFUNC(WritePixels, int, (FILE *file, unsigned int width, unsigned int height, LFUNC(WriteExtensions, void, (FILE *file, XpmExtension *ext, unsigned int num)); -LFUNC(OpenWriteFile, int, (char *filename, xpmData *mdata)); +LFUNC(OpenWriteFile, int, (const char *filename, xpmData *mdata)); LFUNC(xpmDataClose, void, (xpmData *mdata)); int @@ -319,7 +319,7 @@ FUNC(xpmPipeThrough, FILE*, (int fd, */ static int OpenWriteFile( - char *filename, + const char *filename, xpmData *mdata) { if (!filename) { |