Subject: Re: Recent xpm (xsrc) update broke 64bit archtecture?
To: None <current-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 09/19/2004 11:38:48
In article <20040919.014016.57440387.taca@back-street.net>,
Takahiro Kambe <taca@back-street.net> writes:
> Recent xpm (xsrc) update broke 64bit archtecture?
Yes, it's using "SIZE_MAX" to check for "int" overflows at various places.
It appears that the fixes were never tested on any platform where the
size of "int" and "size_t" are different.
I've committed a fix to the HEAD branch a few seconds ago. I'll submit
a pullup request after more testing.
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/