]> 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 244669416a7521e80442ec83de296786f241a669..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
 
 
-char *HomeDir, *ResourceDir, *KeyDir, *HostName;
+char *HomeDir, *ResourceDir, *KeyDir, *HostName = "";
 
 struct Resource *Resources = NULL;
 
@@ -162,6 +162,7 @@ ResourceID(Handle h)
 }
 
 
+void
 GetIndString(char *str, int id, short num)
 {
   struct StringTable **tp, *st = NULL;
Impressum, Datenschutz