Date: Sun, 25 Mar 2007 20:38:05 +1200 From: Andrew Thompson <thompsa@freebsd.org> To: hackers@freebsd.org Subject: hash.h warnings Message-ID: <20070325083805.GA68655@heff.fud.org.nz>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070325083805.GA68655>