]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/libc/port/memcmp.c
libc: change usize to 64-bit for amd64 and arm64, make memory(2) functions use usize
[plan9front.git] / sys / src / libc / port / memcmp.c
index 211752b03a69fcf931b46e495f1b98081a85e21e..f33a8690b6e7c0248231ba1e69166ea3cdf5a5fd 100644 (file)
@@ -2,7 +2,7 @@
 #include       <libc.h>
 
 int
-memcmp(void *a1, void *a2, ulong n)
+memcmp(void *a1, void *a2, usize n)
 {
        uchar *s1, *s2;
        uint c1, c2;