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

This commit is contained in:
Georg Richter
2017-07-04 13:56:38 +02:00
parent 65368bc95c
commit ea8a31e63a
13 changed files with 23 additions and 24 deletions

View File

@@ -185,7 +185,7 @@ static int test_conc70(MYSQL *my)
}
row= mysql_fetch_row(res);
diag("Length: %ld", strlen(row[0]));
diag("Length: %ld", (long)strlen(row[0]));
FAIL_IF(strlen(row[0]) != 1024 * 1024 * 20, "Wrong length");
mysql_free_result(res);
@@ -243,7 +243,7 @@ static int test_conc68(MYSQL *my)
}
row= mysql_fetch_row(res);
diag("Length: %ld", strlen(row[0]));
diag("Length: %ld", (long)strlen(row[0]));
FAIL_IF(strlen(row[0]) != 1024 * 1024 * 20, "Wrong length");
mysql_free_result(res);