On Thu, Dec 16, 2004 at 03:44:18PM +0000, Matthew Wilcox wrote: > On Thu, Dec 16, 2004 at 04:51:10PM +1100, Ian Wienand wrote: > > - int x = workareas [i]; > > - int y = workareas [i + 1]; > > - int width = workareas [i + 2]; > > - int height = workareas [i + 3]; > > + int x = (int) workareas [i]; > > + int y = (int) workareas [i + 1]; > > + int width = (int) workareas [i + 2]; > > + int height = (int) workareas [i + 3]; > > How does this bit make any difference? C99 6.5.4: You're of course right, it doesn't. Assigning an array of long's to ints raised my eyebrows, but I guess it will be my grandchildren worrying about monitor resolutions high enough to be overflowing int's. Anyway, I filed a more complete fix http://bugs.gnome.org/attachment.cgi?id=34923&action=view Thanks, -i ianw@gelato.unsw.edu.au http://www.gelato.unsw.edu.au
Attachment:
signature.asc
Description: Digital signature