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
/
init.c
diff --git
a/src/init.c
b/src/init.c
index ec0a1c74a26369bf9e7361bc3b3c063552ce73a8..ca18297207c32fbce2a1610102a2b8ee5fe779f6 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-187,10
+187,10
@@
void InitWindow(int argc, char *argv[])
XClassHint class_hints;
XTextProperty windowName, iconName;
XGCValues gc_values;
XClassHint class_hints;
XTextProperty windowName, iconName;
XGCValues gc_values;
- unsigned
long
gc_valuemask;
+ unsigned
int
gc_valuemask;
char *window_name = "Rocks'n'Diamonds";
char *icon_name = "Rocks'n'Diamonds";
char *window_name = "Rocks'n'Diamonds";
char *icon_name = "Rocks'n'Diamonds";
-
long
window_event_mask;
+
int
window_event_mask;
width = WIN_XSIZE;
height = WIN_YSIZE;
width = WIN_XSIZE;
height = WIN_YSIZE;
@@
-276,9
+276,9
@@
void InitGfx()
unsigned int width,height;
int hot_x,hot_y;
XGCValues gc_values;
unsigned int width,height;
int hot_x,hot_y;
XGCValues gc_values;
- unsigned
long
gc_valuemask;
+ unsigned
int
gc_valuemask;
XGCValues clip_gc_values;
XGCValues clip_gc_values;
- unsigned
long
clip_gc_valuemask;
+ unsigned
int
clip_gc_valuemask;
char filename[256];
Pixmap shapemask;
char filename[256];
Pixmap shapemask;