summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/lua/weechat-lua-api.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-05-02 10:29:09 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-05-02 10:29:09 +0200
commit7ea3475b86985fdf9526b9433c5e9f23ef5cfa14 (patch)
tree39f16740a2c9295f9925bc4c9650e99a4837753d /src/plugins/scripts/lua/weechat-lua-api.c
parent1525adda5a1d2480694fdb5cabccbafb73364216 (diff)
parent3c7205aab118e1c394cdce7ae40e80b21195fc2f (diff)
downloadweechat-7ea3475b86985fdf9526b9433c5e9f23ef5cfa14.zip
Merge branch 'protocols' of ssh://git.sv.gnu.org/srv/git/weechat into protocols
Diffstat (limited to 'src/plugins/scripts/lua/weechat-lua-api.c')
-rw-r--r--src/plugins/scripts/lua/weechat-lua-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua-api.c b/src/plugins/scripts/lua/weechat-lua-api.c
index 9e0431da1..b39a4fff4 100644
--- a/src/plugins/scripts/lua/weechat-lua-api.c
+++ b/src/plugins/scripts/lua/weechat-lua-api.c
@@ -2566,7 +2566,7 @@ weechat_lua_api_hook_print_cb (void *data, struct t_gui_buffer *buffer,
script_callback = (struct t_script_callback *)data;
- snprintf (timebuffer, sizeof (timebuffer) - 1, "%ld", date);
+ snprintf (timebuffer, sizeof (timebuffer) - 1, "%ld", (long int)date);
lua_argv[0] = script_ptr2str (buffer);
lua_argv[1] = timebuffer;