summaryrefslogtreecommitdiff
path: root/LibC/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibC/string.cpp')
-rw-r--r--LibC/string.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/LibC/string.cpp b/LibC/string.cpp
index dbea2a5b3b..e56c5498cb 100644
--- a/LibC/string.cpp
+++ b/LibC/string.cpp
@@ -102,7 +102,7 @@ int memcmp(const void* v1, const void* v2, size_t n)
return 0;
}
-void* memcpy(void* dest_ptr, const void* src_ptr, dword n)
+void* memcpy(void* dest_ptr, const void* src_ptr, size_t n)
{
if (n >= 1024)
return mmx_memcpy(dest_ptr, src_ptr, n);
@@ -130,7 +130,7 @@ void* memcpy(void* dest_ptr, const void* src_ptr, dword n)
return dest_ptr;
}
-void* memset(void* dest_ptr, int c, dword n)
+void* memset(void* dest_ptr, int c, size_t n)
{
dword dest = (dword)dest_ptr;
// FIXME: Support starting at an unaligned address.
@@ -293,7 +293,5 @@ char* strpbrk(const char* s, const char* accept)
return nullptr;
}
-
-
}