summaryrefslogtreecommitdiffstats
path: root/bin/sh/memalloc.c
diff options
context:
space:
mode:
authorrse <rse@FreeBSD.org>2009-06-01 10:50:17 +0000
committerrse <rse@FreeBSD.org>2009-06-01 10:50:17 +0000
commit88b5665aec3867f4281c38a6100590462cc8fa75 (patch)
treec4cf7e9300fd6592d71d06e3217c88c7bf2ac864 /bin/sh/memalloc.c
parent2bab6955606e0d2046018b3a7a9f06775f06b145 (diff)
downloadFreeBSD-src-88b5665aec3867f4281c38a6100590462cc8fa75.zip
FreeBSD-src-88b5665aec3867f4281c38a6100590462cc8fa75.tar.gz
be more type correct and align local ckmalloc() with its underlying malloc(3) by using a "size_t" instead of an "int" argument
Diffstat (limited to 'bin/sh/memalloc.c')
-rw-r--r--bin/sh/memalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/memalloc.c b/bin/sh/memalloc.c
index 115eea0..fa03632 100644
--- a/bin/sh/memalloc.c
+++ b/bin/sh/memalloc.c
@@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$");
*/
pointer
-ckmalloc(int nbytes)
+ckmalloc(size_t nbytes)
{
pointer p;
OpenPOWER on IntegriCloud