mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
int is not necessarily the same size as size_t
svn:r3079
This commit is contained in:
parent
ef6c9d18e7
commit
50a314c931
@ -233,7 +233,7 @@ typedef uint32_t uintptr_t;
|
||||
#endif
|
||||
|
||||
/* Any size_t larger than this amount is likely to be an underflow. */
|
||||
#define SIZE_T_CEILING (1u<<(sizeof(size_t)*8 - 1))
|
||||
#define SIZE_T_CEILING (sizeof(char)<<(sizeof(size_t)*8 - 1))
|
||||
|
||||
#endif /* __TORINT_H */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user