r11981@catbus: nickm | 2007-02-28 11:55:27 -0500

Clamp declarable bandwidth at INT32_MAX, not INT_MAX.


svn:r9677
This commit is contained in:
Nick Mathewson
2007-02-28 16:56:07 +00:00
parent ebf1862382
commit dae5fc7982
5 changed files with 17 additions and 6 deletions
+3
View File
@@ -120,6 +120,9 @@ typedef unsigned int uint32_t;
#ifndef UINT32_MAX
#define UINT32_MAX 0xffffffffu
#endif
#ifndef INT32_MAX
#define INT32_MAX 0x7fffffffu
#endif
#endif
#if (SIZEOF_LONG == 4)