summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-12-17 20:22:13 +0300
committerunknown <konstantin@mysql.com>2004-12-17 20:22:13 +0300
commit6ce4c255df10854fe13f58be9f5d4ba4319a5b85 (patch)
tree03c9160757ceff9e1de14dbed1fdb6a095f80021 /tests
parentb5b1e87e75912e3164dde74c2de4897e276a17b1 (diff)
downloadmariadb-git-6ce4c255df10854fe13f58be9f5d4ba4319a5b85.tar.gz
Fixing compile-time failures in recently pushed code (aCC, Sun Studio)
(Bug#7381) libmysql/libmysql.c: Fixing compile-time failures in recently pushed code (aCC) tests/client_test.c: Fix a couple of -pedantic warnings.
Diffstat (limited to 'tests')
-rw-r--r--tests/client_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/client_test.c b/tests/client_test.c
index b00be2d35b8..f524415eb1c 100644
--- a/tests/client_test.c
+++ b/tests/client_test.c
@@ -11936,7 +11936,7 @@ static void test_bug4172()
MYSQL_ROW row;
int rc;
char f[100], d[100], e[100];
- long f_len, d_len, e_len;
+ ulong f_len, d_len, e_len;
myheader("test_bug4172");
@@ -12027,8 +12027,8 @@ static void test_conversion()
mysql_stmt_bind_param(stmt, bind);
- buff[0]= 0xC3;
- buff[1]= 0xA0;
+ buff[0]= (uchar) 0xC3;
+ buff[1]= (uchar) 0xA0;
length= 2;
rc= mysql_stmt_execute(stmt);