You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think uint curLabel gets an out of range if my thread is running during a long time.
To avoid this, i create this fix. what do yo think? unsigned int getNewLabel() { if (curLabel>=UINT_MAX) { curLabel = 0; } else { curLabel++; } return curLabel; }
thanks
The text was updated successfully, but these errors were encountered:
I think
uint curLabel
gets an out of range if my thread is running during a long time.To avoid this, i create this fix. what do yo think?
unsigned int getNewLabel() { if (curLabel>=UINT_MAX) { curLabel = 0; } else { curLabel++; } return curLabel; }
thanks
The text was updated successfully, but these errors were encountered: