Compile fixes
[uccvend-snackrom.git] / ROM2 / helpers.c
index 74cb40b..0ef21cb 100644 (file)
@@ -14,7 +14,7 @@ void print_amount(u16 amt) {
        /* take amt and show it on screen with a $ sign */
        char str[10] = {' ', '$', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '};
        u8 pos;
-       for (pos = 7; amt; pos--, amt/=10);
+       for (pos = 7; amt; pos--, amt/=10) {
                str[pos] = amt%10 + '0';
        }
        set_msg(str, WRAP_NONE);

UCC git Repository :: git.ucc.asn.au