This is where things get tricky, and it could be becuase of your compiler. do you know if you can change compiler options to be less strict?
on my mingw compiler i'm not getting any complaints on how you declared these calls.

you'll have to selectively cast the parameters passed to POW.
(double,int) seems to be what you're looking for,