platform/macclassic.c
changeset 692 9c2381075c5e
parent 691 71d9affe0d8a
child 695 73bfbbe645a8
--- a/platform/macclassic.c	Mon Mar 14 11:49:30 2005 +0000
+++ b/platform/macclassic.c	Mon Mar 14 12:05:07 2005 +0000
@@ -207,7 +207,7 @@
                 size = (size_t) volName[0];  /* convert to ASCIZ string... */
                 memmove(&volName[0], &volName[1], size);
                 volName[size] = '\0';
-                cb(data, volName);
+                cb(data, (const char *) volName);
             } /* if */
         } /* if */
 
@@ -619,8 +619,10 @@
         size = (size_t) str255[0];  /* (convert to ASCIZ string...) */
         memmove(&str255[0], &str255[1], size);
         str255[size] = '\0';
-        callback(callbackdata, str255);
+        callback(callbackdata, (const char *) str255);
     } /* for */
+
+    return(1);
 } /* macClassicEnumerateFiles */