public
Description: A git clone of the original NetHack source with all my patches in branches
Homepage:
Clone URL: git://github.com/clivecrous/nethack.git
lits should be size_t as it behaves like a pointer
Clive Crous (author)
Wed Jul 23 15:04:43 -0700 2008
commit  09ebfe3f1c5d09f6bc526ce1e9806a3a0695c6c4
tree    4f2e6a371f8e206cdfa0946e9536a0bf6fa21af8
parent  acf41818586f1172c4b7b3d27dc04f4b96ee0f4f
...
3156
3157
3158
3159
 
3160
3161
3162
...
3878
3879
3880
3881
 
3882
3883
3884
...
3156
3157
3158
 
3159
3160
3161
3162
...
3878
3879
3880
 
3881
3882
3883
3884
0
@@ -3156,7 +3156,7 @@ struct obj **obj_p;      /* object tossed/used */
0
   uchar typ;
0
   boolean shopdoor = FALSE, point_blank = TRUE;
0
 #ifdef LIGHT_SRC_SPELL
0
-        int lits = 0;
0
+        size_t lits = 0;
0
         boolean use_lights = FALSE;
0
 #endif
0
 
0
@@ -3878,7 +3878,7 @@ register int dx,dy;
0
     register const char *fltxt;
0
     struct obj *otmp;
0
 #ifdef LIGHT_SRC_SPELL
0
-    int lits = 0;
0
+    size_t lits = 0;
0
 #endif
0
 /*for mega crude hack to keep from blowing up in face --WAC*/
0
     int away=0;

Comments