diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-05 10:42:49 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-05 10:42:49 +0100 |
commit | a571d599d39e7b05d90c53aaa23cee7c68197e38 (patch) | |
tree | 72b27cfc06aa67bc174d187ca472a35a9abf8e23 /src/plugins/script | |
parent | f840c64626cfba47a55a9f158a13f6f57a12e35e (diff) | |
download | weechat-a571d599d39e7b05d90c53aaa23cee7c68197e38.zip |
core: fix compilation warnings on OpenBSD
On OpenBSD, the variable "tv_sec" in struct timeval has type "long"
(type "time_t" under Linux).
So we need to copy this value to a temporary variable before using its
pointer with function localtime().
Diffstat (limited to 'src/plugins/script')
0 files changed, 0 insertions, 0 deletions