commit | c0bc29e7fe0950e1c1d15d04c91c6a83c0c36f3e | [log] [tgz] |
---|---|---|
author | Arathorn <mud@mg.mud.de> | Mon Dec 28 11:02:57 2020 +0100 |
committer | MG Mud User <mud@mg.mud.de> | Mon Dec 28 11:02:57 2020 +0100 |
tree | 4af01cf05423044598bcee941f35e7c0cec3a814 | |
parent | 836ebd89173be05ccc695ccb002a2df670f531df [diff] [blame] |
Fix Typecasts Change-Id: I496fb6fafe40a16d93ad8880a07a2e9fe01a25e3
diff --git a/std/store.c b/std/store.c index a1dc82a..4bd05f9 100644 --- a/std/store.c +++ b/std/store.c
@@ -63,7 +63,7 @@ static int _set_store_consume(int consum) /* 1 <= consum <= 100 */ { if (consum<1 || consum>100) return -1; - return (100-(int)Set(P_STORE_CONSUME, consum)); + return (100-Set(P_STORE_CONSUME, consum)); } static int _query_min_stock()