{
int w = im->width;
int h = im->height;
- long* buffer = (long *)malloc ((2 + w * h) * sizeof (long));
+ long *buffer = (long *)malloc ((2 + w * h) * sizeof (long));
ASImage *result = scale_asimage (asv, im,
w, h, ASA_ARGB32,
100, ASIMAGE_QUALITY_DEFAULT);
destroy_asimage (&result);
XChangeProperty (dpy, top, xa[XA_NET_WM_ICON], XA_CARDINAL, 32,
- PropModeReplace, (const unsigned char*) buffer, 2 + w * h);
+ PropModeReplace, (const unsigned char *) buffer, 2 + w * h);
free (buffer);
}
else