]> Dogcows Code - chaz/openbox/commitdiff
fix using wrong type for _NET_WORKAREA for 64 bits, may exist other bugs like this
authorMikael Magnusson <mikachu@comhem.se>
Mon, 3 Oct 2005 19:30:15 +0000 (19:30 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Mon, 3 Oct 2005 19:30:15 +0000 (19:30 +0000)
openbox/screen.c

index 486bc00f6094f3619e0dde545d1ed95c601fe915..9ed7e057622b8764f2c87044300fb48c9c610758 100644 (file)
@@ -969,7 +969,7 @@ screen_area_add_strut_bottom(const StrutPartial *s, const Rect *monitor_area,
 void screen_update_areas()
 {
     guint i, x;
-    guint32 *dims;
+    long *dims;
     GList *it;
     gint o;
 
@@ -987,7 +987,7 @@ void screen_update_areas()
         area[i] = g_new0(Rect, screen_num_monitors + 1);
     area[i] = NULL;
      
-    dims = g_new(guint32, 4 * screen_num_desktops);
+    dims = g_new(long, 4 * screen_num_desktops);
 
     for (i = 0; i < screen_num_desktops + 1; ++i) {
         Strut *struts;
This page took 0.028178 seconds and 4 git commands to generate.