DEADSOFTWARE

fix some warnings
[flatwaifu.git] / src / misc.h
index 60eaee5bf5ec9ce7ea63f24d91ef3c1aea4047c1..dad870a8f6bd4e782ef4f9e3677471fe88837fbd 100644 (file)
@@ -22,6 +22,9 @@
 
 // Miscellaneous functions
 
+#include <stdint.h>
+#include "view.h"
+
 #define MAXDIST 2000000L
 
 enum{
@@ -83,5 +86,5 @@ int Z_getacid(int x,int y,int r,int h);
 
 void Z_clrst();
 
-unsigned short int short2host (unsigned short int x);
-unsigned int int2host (unsigned int x);
+int16_t short2host (int16_t x);
+int32_t int2host (int32_t x);