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 {
|
do {
|
||||||
if (croom) { /* handle irregular areas */
|
if (croom) { /* handle irregular areas */
|
||||||
coord tmpc;
|
coord tmpc;
|
||||||
somexy(croom, &tmpc);
|
(void) somexy(croom, &tmpc);
|
||||||
*x = tmpc.x;
|
*x = tmpc.x;
|
||||||
*y = tmpc.y;
|
*y = tmpc.y;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user