diff --git a/src/eat.c b/src/eat.c index d8adbae30..d5969587d 100644 --- a/src/eat.c +++ b/src/eat.c @@ -3507,7 +3507,7 @@ floorfood( c = yn_function(qbuf, ynqchars, 'n', TRUE); } if (c == 'y') - return (struct obj *) &gi.invalid_obj; /* csst away 'const' */ + return &gi.invalid_obj; else if (c == 'q') return (struct obj *) 0; ++getobj_else;