Skip to content

Commit 5096776

Browse files
committed
fix warning: object that pointed is const.
1 parent daf61cd commit 5096776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysql2/client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ static VALUE rb_mysql_client_real_escape(VALUE self, VALUE str) {
680680

681681
static VALUE _mysql_client_options(VALUE self, int opt, VALUE value) {
682682
int result;
683-
void *retval = NULL;
683+
const void *retval = NULL;
684684
unsigned int intval = 0;
685685
const char * charval = NULL;
686686
my_bool boolval;

0 commit comments

Comments
 (0)