Skip to content
Snippets Groups Projects
Commit c48106da authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Convert to int before adding negative numbers

This is avoid that -1 overflows uint32_t.

Change-Id: Ic3d99b1985cdb0a28cc83f8291422f5aba5a5a6d
parent 000098a0
No related branches found
No related tags found
2 merge requests!6Rav1e 11 yushin 1,!3Rav1e 10 yushin
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment