FreeBSD Bugzilla – Attachment 162892 Details for
Bug 204371
lib/libmd/sha1c.c - silence a compiler warning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch to cast the pointer properly and to silence the compiler
sha1.patch (text/plain), 399 bytes, created by
jau
on 2015-11-08 06:41:19 UTC
(
hide
)
Description:
A patch to cast the pointer properly and to silence the compiler
Filename:
MIME Type:
Creator:
jau
Created:
2015-11-08 06:41:19 UTC
Size:
399 bytes
patch
obsolete
>Index: lib/libmd/sha1c.c >=================================================================== >--- lib/libmd/sha1c.c (revision 290536) >+++ lib/libmd/sha1c.c (working copy) >@@ -218,7 +218,7 @@ > */ > #if 1 > #if BYTE_ORDER == BIG_ENDIAN || defined(SHA1_ASM) >- if ((((unsigned int)data)%sizeof(u_int32_t)) == 0) >+ if ((((unsigned long)data)%sizeof(u_int32_t)) == 0) > { > sw=len/SHA_CBLOCK; > if (sw)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204371
: 162892