Comment 3 for bug 1987266

Revision history for this message
In , Joseph-codesourcery (joseph-codesourcery) wrote :

Making res unsigned, and casting hi and lo to unsigned long long in the
"res = hi + lo;" statement, and casting res back to long long in the two
places it gets compared against 0, would be the obvious approach to avoid
signed overflow.