c4988264d4
Fix obtained partly from the PR and partly from the Debian RPM. The wmspec.c fix was confirmed in the latest version of windowmaker in their repo. PR: ports/120284 Submitted by: Hiromi Kimura <hiromi@tac.tsukuba.ac.jp>
19 lines
438 B
C
19 lines
438 B
C
--- WINGs/wwindow.c
|
|
+++ WINGs/wwindow.c
|
|
@@ -254,14 +254,14 @@
|
|
setMiniwindow(WMWindow *win, RImage *image)
|
|
{
|
|
WMScreen *scr= win->view->screen;
|
|
- CARD32 *data;
|
|
+ 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(long));
|
|
|
|
o= 0;
|
|
data[o++] = image->width;
|