diff options
| author | John Birrell <jb@FreeBSD.org> | 1998-05-10 21:22:47 +0000 |
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 1998-05-10 21:22:47 +0000 |
| commit | adaa81ba9263c33f9902ee8596b20b6652144190 (patch) | |
| tree | 77b965d3c3c9c4b1178f3558f7381edbe6cc5afa | |
| parent | cc4473c104ef4c50a201ff5593f8df78003d12ab (diff) | |
Notes
| -rw-r--r-- | lib/libc/string/memset.c | 2 |
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 { |
