[licq-im/licq] 644369: Cast to long long before multiplication to avoid o...

GitHub <[email protected]> Fri, 18 Oct 2013 11:01:48 -0700
Newsgroups gmane.network.licq.cvs
Message-ID <5261778c432cd_57b9765d54672e3@hookshot-fe1-pe1-prd.aws.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/licq-im/licq
  Commit: 644369610b34c87047167ad6943cced16d82a3ba
      https://github.com/licq-im/licq/commit/644369610b34c87047167ad6943cced16d82a3ba
  Author: Erik Johansson <[email protected]>
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
    M licq/src/mainloop.cpp

  Log Message:
  -----------
  Cast to long long before multiplication to avoid overflow

On 32-bit systems, time_t is 31 bits and overflows after ~24 days. This should
fix #38.



-- 

--- 
You received this message because you are subscribed to the Google Groups "Licq Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.