So, according to raster and the XGetWindowProperty man page, this should in fact be a long, not an int. (though this is still broken under ubuntu-64 here)

SVN revision: 16612
This commit is contained in:
rephorm 2005-09-06 03:25:05 +00:00 committed by rephorm
parent 3833561118
commit 35c8148ffa
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ ecore_x_window_prop_card32_get(Ecore_X_Window win, Ecore_X_Atom atom,
if (num_ret < len)
len = num_ret;
for (i = 0; i < len; i++)
val[i] = ((unsigned int *)prop_ret)[i];
val[i] = ((unsigned long*)prop_ret)[i];
num = len;
}
else