summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/GCCLibraries/libc/memory.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-18 00:15:29 +0000
committerChris Lattner <sabre@nondot.org>2002-07-18 00:15:29 +0000
commit4f6a098c8411314b555d0cc899762b68744f2253 (patch)
treea534489437bb2bb8f2aee9080b25a7b0e6b6ecab /llvm/runtime/GCCLibraries/libc/memory.c
parentd9f4ac6680c5a46f331d75457056a970a2f22395 (diff)
downloadbcm5719-llvm-4f6a098c8411314b555d0cc899762b68744f2253.tar.gz
bcm5719-llvm-4f6a098c8411314b555d0cc899762b68744f2253.zip
Fixes to be LP64 correct
llvm-svn: 2950
Diffstat (limited to 'llvm/runtime/GCCLibraries/libc/memory.c')
-rw-r--r--llvm/runtime/GCCLibraries/libc/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/runtime/GCCLibraries/libc/memory.c b/llvm/runtime/GCCLibraries/libc/memory.c
index 404c81a8639..560c6dae1da 100644
--- a/llvm/runtime/GCCLibraries/libc/memory.c
+++ b/llvm/runtime/GCCLibraries/libc/memory.c
@@ -6,9 +6,9 @@
#include <stdlib.h>
-void *malloc(unsigned);
+void *malloc(size_t);
void free(void *);
-void *memset(void *, int, unsigned);
+void *memset(void *, int, size_t);
void *calloc(size_t nelem, size_t elsize) {
void *Result = malloc(nelem*elsize);
OpenPOWER on IntegriCloud