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()