mirror of
https://github.com/mariadb-corporation/mariadb-connector-python.git
synced 2025-07-27 13:01:19 +00:00
Fix for CONPY-115:
Replaced the obsolete ULONG_LONG_MAX definition by ULLONG_MAX.
This commit is contained in:
@ -147,7 +147,7 @@ static unsigned long long my_strtoull(const char *str, size_t len, const char **
|
||||
if (*p < '0' || *p > '9')
|
||||
break;
|
||||
|
||||
if (val > ULONG_LONG_MAX /10 || val*10 > ULONG_LONG_MAX - (*p - '0'))
|
||||
if (val > ULLONG_MAX /10 || val*10 > ULLONG_MAX - (*p - '0'))
|
||||
{
|
||||
*err = ERANGE;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user