[Bug 204371] lib/libmd/sha1c.c - silence a compiler warning

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 8 06:41:20 UTC 2015


            Bug ID: 204371
           Summary: lib/libmd/sha1c.c - silence a compiler warning
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: jau at iki.fi

Created attachment 162892
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162892&action=edit
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.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list