Rev 26 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 26 | Rev 38 | ||
|---|---|---|---|
| Line 47... | Line 47... | ||
| 47 | 47 | ||
| 48 | UCL_PRIVATE(ucl_voidp) |
48 | UCL_PRIVATE(ucl_voidp) |
| 49 | ucl_malloc_internal(ucl_uint size) |
49 | ucl_malloc_internal(ucl_uint size) |
| 50 | { |
50 | { |
| 51 | ucl_voidp p = NULL; |
51 | ucl_voidp p = NULL; |
| - | 52 | #if 0 // Pierre-Marie Baty -- avoid tautological compare |
|
| 52 | if (size < ~(size_t)0) |
53 | if (size < ~(size_t)0) |
| - | 54 | #endif // 0 |
|
| 53 | p = (ucl_voidp) malloc((size_t) size); |
55 | p = (ucl_voidp) malloc((size_t) size); |
| 54 | return p; |
56 | return p; |
| 55 | } |
57 | } |
| 56 | 58 | ||
| 57 | 59 | ||