Commit 3a525d04 authored by CARDOSI Paul's avatar CARDOSI Paul
Browse files

count_hi cannot overflow.

parent 2574864a
......@@ -77,11 +77,7 @@ class SpPhiloxGenerator {
counter_[0] += count_lo;
if (counter_[0] < count_lo) {
if(++counter_[1] == 0) {
if(++counter_[2] == 0) {
++counter_[3];
}
}
++count_hi;
}
counter_[1] += count_hi;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment