commit | 33ae0ed2ae7ce143276658be029c28ec6f2a73c9 | [log] [tgz] |
---|---|---|
author | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Mon Apr 09 20:57:29 2018 -0700 |
committer | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Mon Apr 09 20:58:31 2018 -0700 |
tree | 56ddeb9852b9f79aec5f0aae6fab3bdc395e6aeb | |
parent | 977e0d45003514d088e4bb83474c985094acee47 [diff] |
unbreak compilation on GNU/Linux i386 Recent commit to fix int overflow for implausibly huge allocation added call to std::min. Notably, first arg was old size divided by unsigned long 4. And on GNU/Linux i386 size_t is not long. So such division was promoting first arg to unsigned long while second arg was still size_t, so just unsigned. And that caused compilation to fail. Fix is droping 'ul'.