commit -- UT_sint32 and UT_uint32 get smaller!

Shaw Terwilliger (sterwill@postman.abisource.com)
Thu, 22 Apr 1999 14:34:14 -0500


ut_types.h had defined UT_sint32 and UT_uint32 to be "signed long"
and "unsigned long", respectively. While a long is 32-bits (4
bytes) wide on a 32-bit Intel, that's not always true on a 64-bit
Alpha or UltraSparc. I've changed them to be "signed int" and
"unsigned int" respectively, and fixed a whole bunch of (harmless)
warnings that appeared every time we did sprintf(buf, "%ld", num)
where num was a UT_uint32.

-- 
Shaw Terwilliger


This archive was generated by hypermail 1.03b2.