From 1da02b102513bede1695030ba019cf5232d6b844 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 16 Feb 2025 06:57:53 -0500 Subject: [PATCH] remove a cast that isn't doing anything now --- src/makemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makemon.c b/src/makemon.c index 8681eefc6..90c8558ec 100644 --- a/src/makemon.c +++ b/src/makemon.c @@ -1763,9 +1763,9 @@ cmp_init_mongen_order(const void *p1, const void *p2) /* incorporate the mlet into the sort values for comparison */ int difficulty1 = - ((int) (mons[i1].difficulty + offset1) | ((int) mons[i1].mlet << 8)), + ((mons[i1].difficulty + offset1) | ((int) mons[i1].mlet << 8)), difficulty2 = - ((int) (mons[i2].difficulty + offset2) | ((int) mons[i2].mlet << 8)); + ((mons[i2].difficulty + offset2) | ((int) mons[i2].mlet << 8)); return difficulty1 - difficulty2; }