archivers/dir.c
changeset 126 f5135b499c0c
parent 110 203bd958330d
child 132 b53fa5093749
--- a/archivers/dir.c	Sat Mar 16 03:53:29 2002 +0000
+++ b/archivers/dir.c	Sat Mar 16 03:53:46 2002 +0000
@@ -18,7 +18,7 @@
 
 static int DIR_read(FileHandle *handle, void *buffer,
                     unsigned int objSize, unsigned int objCount);
-static int DIR_write(FileHandle *handle, void *buffer,
+static int DIR_write(FileHandle *handle, const void *buffer,
                      unsigned int objSize, unsigned int objCount);
 static int DIR_eof(FileHandle *handle);
 static int DIR_tell(FileHandle *handle);
@@ -109,7 +109,7 @@
 } /* DIR_read */
 
 
-static int DIR_write(FileHandle *handle, void *buffer,
+static int DIR_write(FileHandle *handle, const void *buffer,
                      unsigned int objSize, unsigned int objCount)
 {
     FILE *h = (FILE *) (handle->opaque);