hash.h warnings

Andrew Thompson thompsa at freebsd.org
Sun Mar 25 08:54:06 UTC 2007


Hi,


There was a discussion late last year about how to fix the warnings in
sys/sys/hash.h. 

http://lists.freebsd.org/pipermail/freebsd-net/2006-October/012098.html

There were a few suggestions put forward but nothing was ever committed.  I
need to include this file in the kernel for a new driver but do not know
enough about this type of warning to fix it. Can anyone recommend the correct
fix?

@/sys/hash.h: In function `hash32_stre':
@/sys/hash.h:97: warning: cast discards qualifiers from pointer target type
@/sys/hash.h: In function `hash32_strne':
@/sys/hash.h:116: warning: cast discards qualifiers from pointer target type



cheers,
Andrew


More information about the freebsd-hackers mailing list