Warning in the compile..
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
Warning in the compile..
It's not a serious problem, but I only get a warning in the compile in FreeBSD 5.2-CURRENT w/ GCC v3.3.3. It's harmless and playable, thought.
Version: 0.6.1
Version: 0.6.1
Code: Select all
sdl_utils.cpp: In function `SDL_Surface* rotate(SDL_Surface*, float)':
sdl_utils.cpp:218: warning: assignment to `short int' from `float'
sdl_utils.cpp:218: warning: argument to `short int' from `float'
sdl_utils.cpp:219: warning: assignment to `short int' from `float'
sdl_utils.cpp:219: warning: argument to `short int' from `float'
sdl_utils.cpp:220: warning: assignment to `short int' from `float'
sdl_utils.cpp:220: warning: argument to `short int' from `float'
sdl_utils.cpp:221: warning: assignment to `short int' from `float'
sdl_utils.cpp:221: warning: argument to `short int' from `float'
sdl_utils.cpp:223: warning: assignment to `short int' from `float'
sdl_utils.cpp:223: warning: argument to `short int' from `float'
sdl_utils.cpp:224: warning: assignment to `short int' from `float'
sdl_utils.cpp:224: warning: argument to `short int' from `float'
sdl_utils.cpp:225: warning: assignment to `short int' from `float'
sdl_utils.cpp:225: warning: argument to `short int' from `float'
sdl_utils.cpp:226: warning: assignment to `short int' from `float'
sdl_utils.cpp:226: warning: argument to `short int' from `float'