aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/trigger
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-10-01 22:21:25 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-10-01 22:21:25 +0200
commit8abd05fe3d1b5acb611d66b98bce5dc3f8002d9f (patch)
tree61d2d2e2af4d68a20577043e8500f2de6f64c26a /src/plugins/trigger
parentdoc: update Japanese auto-generated file (diff)
downloadweechat-8abd05fe3d1b5acb611d66b98bce5dc3f8002d9f.tar.xz
weechat-8abd05fe3d1b5acb611d66b98bce5dc3f8002d9f.zip
core: replace "long unsigned int" by "unsigned long"
Diffstat (limited to 'src/plugins/trigger')
-rw-r--r--src/plugins/trigger/trigger-callback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/trigger/trigger-callback.c b/src/plugins/trigger/trigger-callback.c
index ca7d95d26..818e770af 100644
--- a/src/plugins/trigger/trigger-callback.c
+++ b/src/plugins/trigger/trigger-callback.c
@@ -522,7 +522,7 @@ trigger_callback_signal_cb (const void *pointer, void *data,
if (signal_data)
{
snprintf (str_data, sizeof (str_data),
- "0x%lx", (long unsigned int)signal_data);
+ "0x%lx", (unsigned long)signal_data);
}
ptr_signal_data = str_data;
}
@@ -787,7 +787,7 @@ trigger_callback_line_cb (const void *pointer, void *data,
struct t_hashtable *hashtable;
struct t_gui_buffer *buffer;
struct t_weelist_item *ptr_item;
- long unsigned int value;
+ unsigned long value;
const char *ptr_key, *ptr_value;
char **tags, *str_tags, *string_no_color;
int rc, num_tags, length;
@@ -1130,7 +1130,7 @@ trigger_callback_focus_cb (const void *pointer, void *data,
struct t_hashtable *info)
{
const char *ptr_value;
- long unsigned int value;
+ unsigned long value;
int rc;
TRIGGER_CALLBACK_CB_INIT(info);