Make our replacement INT32_MAX always signed
commit9fcc14224b689dff1be8336feeeb563199694c27
authorNick Mathewson <nickm@torproject.org>
Wed, 12 Jan 2011 19:29:38 +0000 (12 14:29 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 12 Jan 2011 19:29:38 +0000 (12 14:29 -0500)
treef59ac86e652d339f563067770896c1f4a05d8e6d
parentd43cba6c690d9c227b13cd7426285b82b9523611
Make our replacement INT32_MAX always signed

The C standard says that INT32_MAX is supposed to be a signed
integer.  On platforms that have it, we get the correct
platform-defined value.  Our own replacement, however, was
unsigned.  That's going to cause a bug somewhere eventually.
src/common/torint.h