recently-appeared warning bit

mkroom.c(598): warning C4389: '!=': signed/unsigned mismatch
This commit is contained in:
nhmall
2026-05-16 11:37:51 -04:00
parent 4434b14884
commit b2458e679a
+1 -1
View File
@@ -595,7 +595,7 @@ shrine_pos(int roomno)
buf.y++;
/* 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 != ICE
&& levl[buf.x][buf.y].typ != CLOUD))