diff options
author | P. J. McDermott <pjm@nac.net> | 2013-02-19 22:06:09 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-02-19 22:06:09 (EST) |
commit | 22357decdbdd612a00bcfa9291b767e6f068fd9f (patch) | |
tree | 9f561763e76da4fb57679de89731a04f25c84c58 /src/viewport.h | |
parent | 8935a3d7639615d142510cde24b3ef7f1e71eab5 (diff) | |
download | overworld-rpg-22357decdbdd612a00bcfa9291b767e6f068fd9f.zip overworld-rpg-22357decdbdd612a00bcfa9291b767e6f068fd9f.tar.gz overworld-rpg-22357decdbdd612a00bcfa9291b767e6f068fd9f.tar.bz2 |
Enable and fix a bunch of GCC warnings.
Diffstat (limited to 'src/viewport.h')
-rw-r--r-- | src/viewport.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/viewport.h b/src/viewport.h index 372a285..f21c583 100644 --- a/src/viewport.h +++ b/src/viewport.h @@ -4,13 +4,13 @@ #include <SDL.h> struct viewport { - int x; - int y; - int w; - int h; + Sint16 x; + Sint16 y; + Uint16 w; + Uint16 h; SDL_Surface *screen; }; -struct viewport *init_viewport(int width, int height, int bpp); +struct viewport *init_viewport(Uint16 width, Uint16 height, int bpp); #endif |