recently-appeared warning bit
mkroom.c(598): warning C4389: '!=': signed/unsigned mismatch
This commit is contained in:
+1
-1
@@ -595,7 +595,7 @@ shrine_pos(int roomno)
|
|||||||
buf.y++;
|
buf.y++;
|
||||||
|
|
||||||
/* irregular room or the location is blocked */
|
/* irregular room or the location is blocked */
|
||||||
if (roomno != levl[buf.x][buf.y].roomno
|
if (roomno != (int) levl[buf.x][buf.y].roomno
|
||||||
|| (levl[buf.x][buf.y].typ != ROOM
|
|| (levl[buf.x][buf.y].typ != ROOM
|
||||||
&& levl[buf.x][buf.y].typ != ICE
|
&& levl[buf.x][buf.y].typ != ICE
|
||||||
&& levl[buf.x][buf.y].typ != CLOUD))
|
&& levl[buf.x][buf.y].typ != CLOUD))
|
||||||
|
|||||||
Reference in New Issue
Block a user