Be consistent
authorNHOrus <jy6x2b32pie9@yahoo.com>
Sun, 10 Sep 2017 21:32:21 +0000 (00:32 +0300)
committerNHOrus <jy6x2b32pie9@yahoo.com>
Sun, 10 Sep 2017 21:58:13 +0000 (00:58 +0300)
actions.c
advent.h

index e41c7bf5913b3918c84787af649e55ae6103e8fc..059d92b5e02a19aa979db446ee2d6d33e15ddf15 100644 (file)
--- a/actions.c
+++ b/actions.c
@@ -3,6 +3,7 @@
 #include <string.h>
 #include "advent.h"
 #include "dungeon.h"
+#include <inttypes.h>
 
 static int fill(verb_t, obj_t);
 
index 788d65934e8b88cea5019e40136927f5ed261456..27250b7dd0f198bd550cabcf2ab1148b571f2624 100644 (file)
--- a/advent.h
+++ b/advent.h
@@ -119,7 +119,7 @@ typedef long loc_t;    // index into the locations array */
 typedef long turn_t;   // turn counter or threshold */
 
 struct game_t {
-    int64_t lcg_x;
+    int32_t lcg_x;
     long abbnum;                 // How often to print long descriptions
     score_t bonus;               // What kind of finishing bonus we are getting
     loc_t chloc;                 // pirate chest location