If you test whether an unsigned integer is less than 0, your test will never pass.
Not a member of The Register? Create a new account here.
Remember me on this computer? Post anonymously?