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-02-27 03:50:01 +09:00
parent e3490743e0
commit 467777539e

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 {