--- libmysql/libmysql.c.old 2009-11-19 14:26:39.542270424 -0500 +++ libmysql/libmysql.c 2009-11-19 14:28:47.422256556 -0500 @@ -2285,7 +2285,7 @@ mysql_stmt_param_metadata(MYSQL_STMT *st /* Store type of parameter in network buffer. */ -static void store_param_type(char **pos, MYSQL_BIND *param) +static void store_param_type(uchar **pos, MYSQL_BIND *param) { uint typecode= param->buffer_type | (param->is_unsigned ? 32768 : 0); int2store(*pos, typecode);