[patch] SH: memset fix
Ulrich Drepper
drepper@redhat.com
Mon Jul 25 01:35:00 GMT 2005
Kaz Kojima wrote:
> It doesn't catch the problem yet. In the original example
> memset(ptr, '\xda', 20), the second argument is promoted to a
> negative integer,
The third outer loop uses 130 as the byte value, which should meet the
requirement.
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050725/6fc60a1e/attachment.sig>
More information about the Libc-alpha
mailing list