X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fmap_objects.c;h=6ed8c331e4374a4a286fdbb70a314627055c4669;hb=74125940ffac4a7bc38d0cde2d530679a77f7368;hp=a6f527dbdbd110dc7defa0382dfa82ccc5328780;hpb=4d9b6ac142740aa337fc3e622902c9595c36f6d0;p=plomrogue
diff --git a/src/map_objects.c b/src/map_objects.c
index a6f527d..6ed8c33 100644
--- a/src/map_objects.c
+++ b/src/map_objects.c
@@ -2,6 +2,7 @@
#include "map_objects.h"
#include /* for malloc(), calloc(), free(), atoi() */
+#include /* for uint8_t */
#include /* for FILE typedef */
#include /* for strchr(), strlen(), memcpy() */
#include "readwrite.h" /* for [read/write]_uint[8/16/23][_bigendian]() */
@@ -209,9 +210,9 @@ extern uint8_t read_map_objects(struct World * world, void * start, FILE * file)
extern void * build_map_objects(struct World * world, void * start, char def_id,
- unsigned char n)
+ uint8_t n)
{
- unsigned char i;
+ uint8_t i;
struct MapObj * mo;
char first = 1;
struct MapObjDef * mod = get_map_obj_def(world, def_id);