mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-29 23:19:20 +08:00
mdbx-test: правка тестов для совместимости с проблемными версиями glibc и glibc++.
This commit is contained in:
parent
1db44c7914
commit
14558fa90b
@ -667,7 +667,10 @@ bool actor_config::deserialize(const char *str, actor_config &config) {
|
||||
}
|
||||
str = slash + 1;
|
||||
|
||||
uint64_t verify = std::stoull(std::string(str));
|
||||
uint64_t verify = 0;
|
||||
while (*str >= '0' && *str <= '9')
|
||||
verify = verify * 10 + *str++ - '0';
|
||||
|
||||
if (checksum.value != verify) {
|
||||
TRACE("<< actor_config::deserialize: checksum mismatch\n");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user