Bug 204371

Summary: lib/libmd/sha1c.c - silence a compiler warning
Product: Base System Reporter: jau
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me Keywords: patch
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
A patch to cast the pointer properly and to silence the compiler none

Description jau 2015-11-08 06:41:19 UTC
Created attachment 162892 [details]
A patch to cast the pointer properly and to silence the compiler

A compiler warning gets triggered in vain on big-endian 64 bit systems.
Functionally the existing code should actually work correctly.
The extra noise during builds still deserves to be silenced I guess.

The same patch applies to 11-current and 10.2-stable, probably also
to older branches.