x11 Window casting issues

This commit is contained in:
David Rose 2009-07-29 16:36:44 +00:00
parent ac0f84ace1
commit d95404a8b2
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ open_window() {
if (!_properties.has_parent_window()) {
root_window = glx_pipe->get_root();
} else {
root_window = (Window) (int) _properties.get_parent_window();
root_window = (Window)_properties.get_parent_window();
}
#ifdef HAVE_GLXFBCONFIG

View File

@ -515,7 +515,7 @@ open_window() {
if (!_properties.has_parent_window()) {
root_window = tinyx_pipe->get_root();
} else {
root_window = (Window) (int) _properties.get_parent_window();
root_window = (Window)_properties.get_parent_window();
}
setup_colormap(visual_info);