there is no long at all in the X specification
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 12 Nov 2011 07:18:12 +0000 (07:18 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 12 Nov 2011 07:18:12 +0000 (07:18 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@65090 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_x/xcb/ecore_xcb_window_prop.c

index 6e5833e..a9c280d 100644 (file)
@@ -113,7 +113,7 @@ ecore_x_window_prop_card32_list_get(Ecore_X_Window win,
                }
              data = xcb_get_property_value(reply);
              for (i = 0; i < num; i++)
-               val[i] = ((unsigned long *)data)[i];
+               val[i] = ((unsigned int *)data)[i];
              *list = val;
           }
      }