$OpenBSD: patch-sql_mysqld_cc,v 1.18 2009/11/20 01:15:34 sthen Exp $ --- sql/mysqld.cc.orig Wed Nov 4 13:31:01 2009 +++ sql/mysqld.cc Wed Nov 18 20:35:39 2009 @@ -4347,7 +4347,7 @@ int main(int argc, char **argv) select_thread_in_use=1; #ifdef HAVE_LIBWRAP - libwrapName= my_progname+dirname_length(my_progname); + libwrapName= (char *) my_progname+dirname_length(my_progname); openlog(libwrapName, LOG_PID, LOG_AUTH); #endif