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.
This commit is contained in:
unknown 2004-12-17 20:22:13 +03:00
commit 6ce4c255df
2 changed files with 13 additions and 11 deletions

View file

@ -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);