diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 79d188c252cbc1bbfe102c7058764cd359b87dd9..50f03a1a086bc8ce2dc8ade1a0f29dab3318836c 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -15908,7 +15908,7 @@ static void test_bug37956(void)
 {
   const char *query="select point(?,?)";
   MYSQL_STMT *stmt=NULL;
-  unsigned int val=0;
+  ulong val=0;
   MYSQL_BIND bind_param[2];
   unsigned char buff[2]= { 134, 211 };
   DBUG_ENTER("test_bug37956");