From 24b6f6a03e53a9b886548304ebddf8eec482c71b Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 10 Nov 2023 11:28:08 -0500 Subject: [PATCH] follow-up cast removal in eat.c --- src/eat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;