home · contact · privacy
Use "uint8_t" instead of "unsigned char".
[plomrogue] / src / rexit.h
index e4c2eb53584476da899e2e87a4e00627da3d928f..f020485f9d3c21c30bae196344a79fdc4a333bed 100644 (file)
@@ -9,6 +9,7 @@
 
 
 
+#include <stdint.h> /* for uint8_t */
 struct World;
 struct Map;
 
@@ -38,7 +39,7 @@ extern void exit_game(struct World * world);
  * pass the result of functions that return non-zero as an error status and
  * thereby avoid bloating up the code with if-error-conditionals.)
  */
-extern void exit_err(unsigned char err, struct World * world, char * msg);
+extern void exit_err(uint8_t err, struct World * world, char * msg);