Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This update fixes a malbehaviour on 32bit systems, where the cextras library would calculate the wrong size for array resizing. The corresponding commit in cextras is 2777280db867664211f072fc4bd6173a781ec8d4. return -CX_ERR_INTEGER_OVERFLOW; } // Set the bit at the position of the first 0 to 1 - *val = 1ULL << (sizeof(size_t) * 8 - leading_zeros); + *val = 1ULL << (sizeof(long long) * 8 - leading_zeros); } return 0; } Gottox/cextras@2777280
- Loading branch information