]> git.zerfleddert.de Git - micropolis/blobdiff - src/sim/w_resrc.c
Enable warnings and fix them, all of them
[micropolis] / src / sim / w_resrc.c
index 89e7538049b90d6d44dcd9c9a1b0161a47b9b4b9..23fc2aabca49b5e835ccda02a4683555d30b4d05 100644 (file)
 
 
 #ifdef MSDOS
-#define PATHSTR        "%s\\%c%c%c%c.%d"
+#define PATHSTR        "%s\\%c%c%c%c.%ld"
 #define PERMSTR        "rb"
 #else
-#define PATHSTR        "%s/%c%c%c%c.%d"
+#define PATHSTR        "%s/%c%c%c%c.%ld"
 #define PERMSTR        "r"
 #endif
 
@@ -162,6 +162,7 @@ ResourceID(Handle h)
 }
 
 
+void
 GetIndString(char *str, int id, short num)
 {
   struct StringTable **tp, *st = NULL;
Impressum, Datenschutz