add explicit cast on somexy() call
All other somexy() calls not using a return value have a cast.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user