Absurdly, the return value of sqlite3_column_text()
authorschwarze <schwarze@openbsd.org>
Fri, 8 Aug 2014 17:36:21 +0000 (17:36 +0000)
committerschwarze <schwarze@openbsd.org>
Fri, 8 Aug 2014 17:36:21 +0000 (17:36 +0000)
commit0c60863e93b1e5e1216a806e9e69a4d68709f790
treea53107fda8034fc56434fd04350658238b31351b
parentc2235d37adbf8264f37d9012501da605fa859ca5
Absurdly, the return value of sqlite3_column_text()
is "const unsigned char *", which causes warnings with GCC on Linux.
Explicitly cast to "const char *" to avoid this.
Issue noticed by kristaps@.
usr.bin/mandoc/mandocdb.c
usr.bin/mandoc/mansearch.c