Quote:
|
Originally Posted by Larry Barello
The easy fix is to use ((unsigned int)(a)) instead of int. you will never need negative time, so why specify a signed number?
Cheers!
|
making it unsigned only doubles the amount of space you have - anything over 6.5 seconds or so will still overflow it, hence the reason i recommend using longs.