about summary refs log tree commit diff homepage
path: root/runtime/klee-libc
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-01 22:52:06 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-01 22:52:06 +0000
commit5a68a3c68c8b8a474ddcbf8ebfbcea917f2d7ee2 (patch)
tree803667d6705b3240df5b6d0d39f216cf3ddf75fc /runtime/klee-libc
parente07c9626f5ffeeef8fcb7cc9106efd732c79113c (diff)
downloadklee-5a68a3c68c8b8a474ddcbf8ebfbcea917f2d7ee2.tar.gz
A few type fixes for libc functions, for 64-bit.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@77822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/klee-libc')
-rw-r--r--runtime/klee-libc/memcpy.c2
-rw-r--r--runtime/klee-libc/mempcpy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/klee-libc/memcpy.c b/runtime/klee-libc/memcpy.c
index 14b98ce6..7f7f133d 100644
--- a/runtime/klee-libc/memcpy.c
+++ b/runtime/klee-libc/memcpy.c
@@ -9,7 +9,7 @@
 
 #include <stdlib.h>
 
-void *memcpy(void *destaddr, void const *srcaddr, unsigned int len) {
+void *memcpy(void *destaddr, void const *srcaddr, size_t len) {
   char *dest = destaddr;
   char const *src = srcaddr;
 
diff --git a/runtime/klee-libc/mempcpy.c b/runtime/klee-libc/mempcpy.c
index 6327e748..31e142d9 100644
--- a/runtime/klee-libc/mempcpy.c
+++ b/runtime/klee-libc/mempcpy.c
@@ -9,7 +9,7 @@
 
 #include <stdlib.h>
 
-void *mempcpy(void *destaddr, void const *srcaddr, unsigned int len) {
+void *mempcpy(void *destaddr, void const *srcaddr, size_t len) {
   char *dest = destaddr;
   char const *src = srcaddr;