From 3833561118d271b7579633733400c4a42d7d68d9 Mon Sep 17 00:00:00 2001 From: rephorm Date: Tue, 6 Sep 2005 00:52:43 +0000 Subject: [PATCH] change this cast to an int so things will work on both 32 _and_ 64 bit processors. now all of us with athlon-64's can restart E without losing the desktop positions of all our windows :) SVN revision: 16607 --- legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c b/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c index 3d5c74e51e..e069b92196 100644 --- a/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c +++ b/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c @@ -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 long *)prop_ret)[i]; + val[i] = ((unsigned int *)prop_ret)[i]; num = len; } else