Page MenuHomeFreeBSD

lib/libc/locale/xlocale_private.h compile warning fixes
Needs ReviewPublic

Authored by aprieger_llnw.com on Jun 9 2017, 4:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 6:37 PM
Unknown Object (File)
Mon, Apr 22, 6:09 PM
Unknown Object (File)
Dec 20 2023, 7:44 PM
Unknown Object (File)
Dec 20 2023, 3:52 AM
Unknown Object (File)
Nov 18 2023, 9:31 AM
Unknown Object (File)
Nov 18 2023, 8:52 AM
Unknown Object (File)
Nov 18 2023, 6:37 AM
Unknown Object (File)
May 6 2023, 11:14 AM
Subscribers
None

Details

Reviewers
kbowling
sbruno
Summary

warning fixes for the header file lib/libc/locale/xlocale_private.h that is compiled with a few warnings, and is used multiple times across the usr.bin/localedef application

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9756
Build 10195: arc lint + arc unit

Event Timeline

Changelog:
Pre-fix warnings are at: https://gist.github.com/aprieger-llnw/1abe4dd00d141096e9d6135586d4926c

  1. cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
    • warning: passing 'long *' to parameter of type 'volatile u_long *' (aka 'volatile unsigned long *') converts between pointers to integer types with different sign [-Wpointer-sign]
      • fix: added the explicit modifier (volatile u_long *) to the parameter one lines 147 and 169