usr.sbin/lpr/lpc (line printer control program) build warning fixes
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Changelog:
- usr.sbin/lpr/lpc/lpc.c
- Warning
- passing 'char *[20]' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
- Fix:
- Explicitly cast the variable "margv" to const char ** only for it's use as a parameter to suppress the error
- Warning