diff options
author | Georgi Kodinov <joro@sun.com> | 2009-07-16 15:37:38 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-07-16 15:37:38 +0300 |
commit | 097c7b38c83134092c0820b6129f1d29603b6d16 (patch) | |
tree | 8355983a13f35920e48a43d2d8a2b35a2eee92d7 /tests | |
parent | b7445ff687db2bba4785d9475865039940d6aa05 (diff) | |
download | mariadb-git-097c7b38c83134092c0820b6129f1d29603b6d16.tar.gz |
Bug #45287: phase 2 : 5.0 64 bit compilation warnings
Fixed various compilation warnings when compiling on a
64 bit windows.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index ce1a1a99b04..2896d5dffdc 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -16248,14 +16248,14 @@ static void test_bug38486(void) stmt= mysql_stmt_init(mysql); mysql_stmt_attr_set(stmt, STMT_ATTR_CURSOR_TYPE, (void*)&type); stmt_text= "CREATE TABLE t1 (a INT)"; - mysql_stmt_prepare(stmt, stmt_text, strlen(stmt_text)); + mysql_stmt_prepare(stmt, stmt_text, (ulong) strlen(stmt_text)); mysql_stmt_execute(stmt); mysql_stmt_close(stmt); stmt= mysql_stmt_init(mysql); mysql_stmt_attr_set(stmt, STMT_ATTR_CURSOR_TYPE, (void*)&type); stmt_text= "INSERT INTO t1 VALUES (1)"; - mysql_stmt_prepare(stmt, stmt_text, strlen(stmt_text)); + mysql_stmt_prepare(stmt, stmt_text, (ulong) strlen(stmt_text)); mysql_stmt_execute(stmt); mysql_stmt_close(stmt); |