You've already forked mariadb-connector-c
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user