archivers/dir.c
changeset 754 e7cd7411eadf
parent 691 71d9affe0d8a
child 767 db29bf06d171
--- a/archivers/dir.c	Fri Sep 09 20:35:18 2005 +0000
+++ b/archivers/dir.c	Sun Sep 18 21:44:42 2005 +0000
@@ -104,13 +104,14 @@
 
 
 static void DIR_enumerateFiles(dvoid *opaque, const char *dname,
-                               int omitSymLinks, PHYSFS_StringCallback cb,
-                               void *callbackdata)
+                               int omitSymLinks, PHYSFS_EnumFilesCallback cb,
+                               const char *origdir, void *callbackdata)
 {
     char *d = __PHYSFS_platformCvtToDependent((char *)opaque, dname, NULL);
     if (d != NULL)
     {
-        __PHYSFS_platformEnumerateFiles(d, omitSymLinks, cb, callbackdata);
+        __PHYSFS_platformEnumerateFiles(d, omitSymLinks, cb,
+                                        origdir, callbackdata);
         allocator.Free(d);
     } /* if */
 } /* DIR_enumerateFiles */