summaryrefslogtreecommitdiff
path: root/src/plugins/fset
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/fset
parentb7f3ba69e12c7bb38523e30aaf4a8e46a4de853f (diff)
downloadweechat-8abd05fe3d1b5acb611d66b98bce5dc3f8002d9f.zip
core: replace "long unsigned int" by "unsigned long"
Diffstat (limited to 'src/plugins/fset')
-rw-r--r--src/plugins/fset/fset-mouse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/fset/fset-mouse.c b/src/plugins/fset/fset-mouse.c
index 266ad75d9..e6b8e8a9d 100644
--- a/src/plugins/fset/fset-mouse.c
+++ b/src/plugins/fset/fset-mouse.c
@@ -41,7 +41,7 @@ fset_mouse_focus_cb (const void *pointer, void *data, struct t_hashtable *info)
{
const char *buffer;
int rc;
- long unsigned int value;
+ unsigned long value;
struct t_gui_buffer *ptr_buffer;
long y;
char *error, str_value[128];
@@ -80,7 +80,7 @@ fset_mouse_focus_cb (const void *pointer, void *data, struct t_hashtable *info)
return info;
snprintf (str_value, sizeof (str_value),
- "0x%lx", (long unsigned int)ptr_fset_option);
+ "0x%lx", (unsigned long)ptr_fset_option);
weechat_hashtable_set (info, "fset_option", str_value);
weechat_hashtable_set (info, "fset_option_name", ptr_fset_option->name);
weechat_hashtable_set (info, "fset_option_parent_name", ptr_fset_option->parent_name);
@@ -189,7 +189,7 @@ fset_mouse_hsignal_cb (const void *pointer, void *data, const char *signal,
const char *ptr_key, *ptr_chat_line_y, *ptr_fset_option_pointer;
char str_command[1024];
struct t_fset_option *ptr_fset_option;
- long unsigned int value;
+ unsigned long value;
int rc, distance, num_options, y, y2, chat_line_y, chat_line_y2;
int min_y, max_y, i;