diff options
author | ache <ache@FreeBSD.org> | 2002-08-04 04:11:48 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-08-04 04:11:48 +0000 |
commit | 9c3f31fb8e7776a343be503445696717f80b7b76 (patch) | |
tree | 51a0ace507f0fcc65214ded83e24e46c863f3a95 | |
parent | 79a3f64da0ce06e4adeec4d5366f9ab251c89a32 (diff) | |
download | FreeBSD-src-9c3f31fb8e7776a343be503445696717f80b7b76.zip FreeBSD-src-9c3f31fb8e7776a343be503445696717f80b7b76.tar.gz |
Nonexistent SIZE_MAX -> SIZE_T_MAX
-rw-r--r-- | lib/libc/stdlib/calloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/calloc.c b/lib/libc/stdlib/calloc.c index 863e546..9e7850c 100644 --- a/lib/libc/stdlib/calloc.c +++ b/lib/libc/stdlib/calloc.c @@ -49,7 +49,7 @@ calloc(num, size) { void *p; - if (size != 0 && SIZE_MAX / size < num) { + if (size != 0 && SIZE_T_MAX / size < num) { errno = ENOMEM; return (NULL); } |