Not a simple fix, be careful not to trip over backwards-counting for loops and similar, you can't compare the counter against 0 because it could be MAX_INT (-1).
Not a member of The Register?
Create a new account
Remember me on this computer?
The Register - Independent news and views for the tech community. Part of Situation Publishing
Biting the hand that feeds IT © 1998–2020