Bug 176052 - [boot] [patch] libi386: Do not unnecessarily cast away const
Summary: [boot] [patch] libi386: Do not unnecessarily cast away const
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 1.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: Warner Losh
URL:
Keywords: loader
Depends on:
Blocks:
 
Reported: 2013-02-12 08:20 UTC by Christoph Mallon
Modified: 2019-01-07 18:25 UTC (History)
1 user (show)

See Also:


Attachments
0001-libi386-Do-not-unnecessarily-cast-away-const.patch (1.02 KB, patch)
2013-02-12 08:20 UTC, Christoph Mallon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Mallon 2013-02-12 08:20:00 UTC
In r245424 a cast was introduced to cast away const.
This is unnecessary and can be avoided by slightly rearranging the code.

Fix: Please apply the patch below.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:31 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped