pkgsrc/wm/windowmaker/patches/patch-al
2005-01-04 21:34:01 +00:00

21 lines
591 B
Text

$NetBSD: patch-al,v 1.2 2005/01/04 21:34:01 sekiya Exp $
--- 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;