if (supply > 20); Not a syntax error, but, oops.
if (supply > 20);
Please post your code- I'm going to guess that "supply" is the pointer.