add explicit cast on somexy() call

All other somexy() calls not using a return value have a cast.
This commit is contained in:
SHIRAKATA Kentaro
2022-03-10 06:12:01 +09:00
parent e3490743e0
commit 467777539e
+1 -1
View File
@@ -1107,7 +1107,7 @@ get_location(xchar *x, xchar *y, int humidity, struct mkroom* croom)
do {
if (croom) { /* handle irregular areas */
coord tmpc;
somexy(croom, &tmpc);
(void) somexy(croom, &tmpc);
*x = tmpc.x;
*y = tmpc.y;
} else {