summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-script.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-01-05 10:42:49 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-01-05 10:42:49 +0100
commita571d599d39e7b05d90c53aaa23cee7c68197e38 (patch)
tree72b27cfc06aa67bc174d187ca472a35a9abf8e23 /src/plugins/plugin-script.h
parentf840c64626cfba47a55a9f158a13f6f57a12e35e (diff)
downloadweechat-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/plugin-script.h')
0 files changed, 0 insertions, 0 deletions