mirror of
https://github.com/opnsense/src.git
synced 2026-03-04 06:11:32 -05:00
usr.sbin/sa/db.c:82:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier [-Werror,-Wcast-qual]
key.data = (void*)&VERSION_KEY;
^
usr.sbin/sa/db.c:178:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier [-Werror,-Wcast-qual]
key.data = (void*)&VERSION_KEY;
^
Replace the VERSION_KEY define with a writable char array, so no const
qualifier needs to be dropped anymore.
Submitted by: rdivacky
|
||
|---|---|---|
| .. | ||
| tests | ||
| db.c | ||
| extern.h | ||
| main.c | ||
| Makefile | ||
| pathnames.h | ||
| pdb.c | ||
| sa.8 | ||
| usrdb.c | ||