Need help with some errors in my game
I'va made a game and i'm trying to add highscore list onto it, i'm allmost there i just get some errors that i can't figure out. I think it will work nicely when these errors are gone.
Code:
main.c: In function `PrintHighscore':
main.c:481: warning: format argument is not a pointer (arg 5)
main.c:485: warning: format argument is not a pointer (arg 5)
highscore.c: In function `InsertScore':
highscore.c:34: warning: assignment makes integer from pointer without a cast
highscore.c:42: warning: assignment makes integer from pointer without a cast
highscore.c: In function `SaveHighscore':
highscore.c:61: warning: format argument is not a pointer (arg 4)
highscore.c: In function `LoadHighscore':
highscore.c:90: warning: assignment makes integer from pointer without a cast
highscore.c:91: warning: format argument is not a pointer (arg 3)
highscore.c: In function `InsHighscore':
highscore.c:115: warning: assignment makes integer from pointer without a cast
These once i can't figure out.. I've got alittle help from this forum and some m8's to get this far.
Could someone take a look and come with some suggestions of how to fix these errors.
It would be great.
- Mikalio (I'm new to c programming)