summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sem_new.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-01-28 22:22:49 +0000
committerdim <dim@FreeBSD.org>2015-01-28 22:22:49 +0000
commitf7310af2cc0ef7e605de1c75f2a0ad8d6a1eddfb (patch)
tree7e733d21ac06c3a821aa070c19536a052fe35e85 /lib/libc/gen/sem_new.c
parent323b7d583ce50019870d293b4a4438a20ef4070f (diff)
downloadFreeBSD-src-f7310af2cc0ef7e605de1c75f2a0ad8d6a1eddfb.zip
FreeBSD-src-f7310af2cc0ef7e605de1c75f2a0ad8d6a1eddfb.tar.gz
Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c:
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
Diffstat (limited to 'lib/libc/gen/sem_new.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud