Am 04.07.16 um 17:43 schrieb Selva Nair: > > Something like this is needed to protect against overflow of the 32 > bit int (signed int in this case). Think of the user specifying sec = > 2^17. Any shift by more than 14 will make sec = 0. A more > sophisticated logic that counts the bits in sec before shifting is > possible, but this looked simple.. Now that a v3 is needed, will > change to an explicit check on overflow. That do that check in options.c and complain there. :)
Arne