luaevent.c: Fix potential overflow in converting seconds to timeval

(0) -30 -10 -1 +1 +10 tip

mercurial