projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed code to compile with current gcc and 64-bit systems
[rocksndiamonds.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index 2c237ce3d200a38ec360e103e51feb0d0a87ea57..b15d193a7001fe9e9b040fcd28d18c5e9705d6c9 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-36,7
+36,7
@@
char *sound_device_name = SOUND_DEVICE;
int joystick_device = 0;
char *joystick_device_name[2] = { DEV_JOYSTICK_0, DEV_JOYSTICK_1 };
int width, height;
int joystick_device = 0;
char *joystick_device_name[2] = { DEV_JOYSTICK_0, DEV_JOYSTICK_1 };
int width, height;
-unsigned
long
pen_fg, pen_bg;
+unsigned
int
pen_fg, pen_bg;
int game_status = MAINMENU;
int button_status = MB_NOT_PRESSED, motion_status = FALSE;
int game_status = MAINMENU;
int button_status = MB_NOT_PRESSED, motion_status = FALSE;