1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Fixed compiler warnings in bulk1.c and features-10_2.c

This commit is contained in:
Georg Richter
2017-03-06 15:04:47 +01:00
parent aae1d2df74
commit a1315d2a2d
2 changed files with 6 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ static int execute_direct_example(MYSQL *mysql)
bind[0].buffer= &intval;
bind[1].buffer_type= MYSQL_TYPE_STRING;
bind[1].buffer= (char *)strval;
bind[1].buffer_length= strlen(strval);
bind[1].buffer_length= (unsigned long)strlen(strval);
/* set number of parameters */
rc= mysql_stmt_attr_set(stmt, STMT_ATTR_PREBIND_PARAMS, &param_count);