diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2005-10-03 19:30:15 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2005-10-03 19:30:15 +0000 |
| commit | 148ef741e11b89365cff0538ab3b0abff69e118d (patch) | |
| tree | 8c3a8389ee31b789f487b75892ae650ce888023d /openbox/screen.c | |
| parent | 93598589f1d05c46a30c57a39d959a8702123fa2 (diff) | |
fix using wrong type for _NET_WORKAREA for 64 bits, may exist other bugs like this
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index 486bc00f..9ed7e057 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -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; |
