summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-05-10 21:22:47 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-05-10 21:22:47 +0000
commitadaa81ba9263c33f9902ee8596b20b6652144190 (patch)
tree77b965d3c3c9c4b1178f3558f7381edbe6cc5afa /lib/libc
parentcc4473c104ef4c50a201ff5593f8df78003d12ab (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/string/memset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/memset.c b/lib/libc/string/memset.c
index 99c72dcb0700..55cca110a3da 100644
--- a/lib/libc/string/memset.c
+++ b/lib/libc/string/memset.c
@@ -105,7 +105,7 @@ memset(dst0, c0, length)
}
#endif
/* Align destination by filling in bytes. */
- if ((t = (int)dst & wmask) != 0) {
+ if ((t = (long)dst & wmask) != 0) {
t = wsize - t;
length -= t;
do {