From e298bb09c1caeeb2573f1a9b77b85b7c918d450c Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 1 May 2023 11:00:10 -0400 Subject: [PATCH] build fix for Windows Visual Studio --- src/apply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apply.c b/src/apply.c index b58033728..1c57afe09 100644 --- a/src/apply.c +++ b/src/apply.c @@ -156,7 +156,7 @@ use_towel(struct obj *obj) dry_a_towel(obj, -1, drying_feedback); return ECMD_TIME; } else if (u.ucreamed) { - incr_itimeout(&HBlinded, -u.ucreamed); + incr_itimeout(&HBlinded, (-1 * (int) u.ucreamed)); u.ucreamed = 0; if (!Blinded) { pline("You've got the glop off.");