mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05: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 <aprieger@llnw.com>
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D11019
|
||
|---|---|---|
| .. | ||
| cmds.c | ||
| cmdtab.c | ||
| extern.h | ||
| lpc.8 | ||
| lpc.c | ||
| lpc.h | ||
| Makefile | ||
| Makefile.depend | ||
| movejobs.c | ||