Bug 204371 - lib/libmd/sha1c.c - silence a compiler warning
Summary: lib/libmd/sha1c.c - silence a compiler warning
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-11-08 06:41 UTC by jau
Modified: 2015-11-08 14:36 UTC (History)
0 users

See Also:


Attachments
A patch to cast the pointer properly and to silence the compiler (399 bytes, patch)
2015-11-08 06:41 UTC, jau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.