summaryrefslogtreecommitdiff
path: root/wm/windowmaker/patches/patch-al
blob: 88deaa386b0345ea4eec5152e26bef5a6be58282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- WINGs/wwindow.c.orig	2004-10-24 11:58:20.000000000 +0900
+++ WINGs/wwindow.c	2005-01-04 23:17:30.000000000 +0900
@@ -254,14 +254,14 @@
 setMiniwindow(WMWindow *win, RImage *image)
 {
     WMScreen *scr= win->view->screen;
-    CARD32 *data;
+    unsigned long *data;
     int x, y;
     int o;
 
     if (!image)
       return;
 
-    data = wmalloc((image->width * image->height + 2) * sizeof(CARD32));
+    data = wmalloc((image->width * image->height + 2) * sizeof(unsigned long));
 
     o= 0;
     data[o++] = image->width;