1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Fix for CONC-668:

Fix build error on 32-bit systems.
This commit is contained in:
Georg Richter
2023-09-18 16:05:00 +02:00
parent 4e3905c20a
commit 9f37c27bc8
2 changed files with 2 additions and 2 deletions

View File

@@ -481,7 +481,7 @@ MYSQL_RES *_mysql_stmt_use_result(MYSQL_STMT *stmt)
return(NULL);
}
unsigned char *mysql_net_store_length(unsigned char *packet, size_t length)
unsigned char *mysql_net_store_length(unsigned char *packet, ulonglong length)
{
if (length < (unsigned long long) L64(251)) {
*packet = (unsigned char) length;