mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-10 03:06:05 +01:00
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
Submitted by: Aaron Prieger <[email protected]>
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D11019