src/video/x11/SDL_x11window.c
changeset 4566 40c833d951a1
parent 4555 9e73d17638d3
child 4618 844b5ef4b149
     1.1 --- a/src/video/x11/SDL_x11window.c	Wed Jul 21 21:47:12 2010 -0700
     1.2 +++ b/src/video/x11/SDL_x11window.c	Wed Jul 21 21:53:41 2010 -0700
     1.3 @@ -876,7 +876,7 @@
     1.4  
     1.5          /* Set the _NET_WM_ICON property */
     1.6          propsize = 2 + (icon->w * icon->h);
     1.7 -        propdata = SDL_malloc(propsize * sizeof(Uint32));
     1.8 +        propdata = SDL_malloc(propsize * sizeof(long));
     1.9          if (propdata) {
    1.10              int x, y;
    1.11              Uint32 *src;