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

Fix Windows size_t warnings.

This commit is contained in:
Vladislav Vaintroub
2018-01-12 18:19:19 +00:00
parent 8231a0add6
commit 935c33b690
19 changed files with 347 additions and 347 deletions

View File

@@ -392,7 +392,7 @@ static int test_bad_union(MYSQL *mysql)
stmt= mysql_stmt_init(mysql);
FAIL_IF(!stmt, mysql_error(mysql));
rc= mysql_stmt_prepare(stmt, query, strlen(query));
rc= mysql_stmt_prepare(stmt, query, (unsigned long)strlen(query));
FAIL_UNLESS(rc && mysql_errno(mysql) == 1222, "Error expected");
mysql_stmt_close(stmt);