diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-bar-item.c | 4 | ||||
-rw-r--r-- | src/gui/gui-bar.c | 2 | ||||
-rw-r--r-- | src/gui/gui-chat.c | 2 | ||||
-rw-r--r-- | src/gui/gui-cursor.c | 6 | ||||
-rw-r--r-- | src/gui/gui-history.c | 4 | ||||
-rw-r--r-- | src/gui/gui-input.c | 2 | ||||
-rw-r--r-- | src/gui/gui-key.c | 2 | ||||
-rw-r--r-- | src/gui/gui-line.c | 2 | ||||
-rw-r--r-- | src/gui/gui-nicklist.c | 2 |
9 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index e379d27a0..6bd0f032a 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -876,7 +876,7 @@ gui_bar_item_input_text_cb (const void *pointer, void *data, /* for modifiers */ snprintf (str_buffer, sizeof (str_buffer), - "0x%lx", (long unsigned int)buffer); + "0x%lx", (unsigned long)buffer); /* execute modifier with basic string (without cursor tag) */ ptr_input = NULL; @@ -1922,7 +1922,7 @@ gui_bar_item_focus_buffer_nicklist_cb (const void *pointer, struct t_gui_nick_group *ptr_group; struct t_gui_nick *ptr_nick; int i, rc, bar_item_line; - unsigned long int value; + unsigned long value; const char *str_window, *str_buffer, *str_bar_item_line; struct t_gui_window *window; struct t_gui_buffer *buffer; diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c index adcda616b..8b58e6be0 100644 --- a/src/gui/gui-bar.c +++ b/src/gui/gui-bar.c @@ -387,7 +387,7 @@ gui_bar_check_conditions (struct t_gui_bar *bar, snprintf (str_modifier, sizeof (str_modifier), "bar_condition_%s", bar->name); snprintf (str_window, sizeof (str_window), - "0x%lx", (long unsigned int)(window)); + "0x%lx", (unsigned long)(window)); str_displayed = hook_modifier_exec (NULL, str_modifier, str_window, diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index 356c9855c..a766262a1 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -1112,7 +1112,7 @@ gui_chat_hsignal_quote_line_cb (const void *pointer, void *data, struct t_hashtable *hashtable) { const char *date, *line, *prefix, *ptr_prefix, *message; - long unsigned int value; + unsigned long value; long number; struct tm *local_time; struct t_gui_line *ptr_line; diff --git a/src/gui/gui-cursor.c b/src/gui/gui-cursor.c index 5b5cf8b85..e6c73035c 100644 --- a/src/gui/gui-cursor.c +++ b/src/gui/gui-cursor.c @@ -125,10 +125,10 @@ gui_cursor_display_debug_info () "chat: %d, word: \"%s\"", gui_color_get_custom ("yellow,red"), focus_info->x, focus_info->y, - (long unsigned int)focus_info->window, - (long unsigned int)focus_info->buffer, + (unsigned long)focus_info->window, + (unsigned long)focus_info->buffer, (focus_info->buffer) ? (focus_info->buffer)->full_name : "-", - (long unsigned int)focus_info->bar_window, + (unsigned long)focus_info->bar_window, (focus_info->bar_window) ? ((focus_info->bar_window)->bar)->name : "-", (focus_info->bar_item) ? focus_info->bar_item : "-", focus_info->bar_item_line, diff --git a/src/gui/gui-history.c b/src/gui/gui-history.c index d205fd0d5..ebd2e57ef 100644 --- a/src/gui/gui-history.c +++ b/src/gui/gui-history.c @@ -151,7 +151,7 @@ gui_history_add (struct t_gui_buffer *buffer, const char *string) char *string2, str_buffer[128]; snprintf (str_buffer, sizeof (str_buffer), - "0x%lx", (long unsigned int)(buffer)); + "0x%lx", (unsigned long)(buffer)); string2 = hook_modifier_exec (NULL, "history_add", str_buffer, string); /* @@ -231,7 +231,7 @@ gui_history_hdata_history_update_cb (void *data, struct t_gui_history *ptr_history; struct t_gui_buffer *ptr_buffer; const char *text, *buffer; - long unsigned int value; + unsigned long value; int rc; /* make C compiler happy */ diff --git a/src/gui/gui-input.c b/src/gui/gui-input.c index b083637ab..47c8fad04 100644 --- a/src/gui/gui-input.c +++ b/src/gui/gui-input.c @@ -159,7 +159,7 @@ gui_input_text_changed_modifier_and_signal (struct t_gui_buffer *buffer, /* send modifier, and change input if needed */ snprintf (str_buffer, sizeof (str_buffer), - "0x%lx", (long unsigned int)buffer); + "0x%lx", (unsigned long)buffer); new_input = hook_modifier_exec (NULL, "input_text_content", str_buffer, diff --git a/src/gui/gui-key.c b/src/gui/gui-key.c index 021376c41..a3c6aadc2 100644 --- a/src/gui/gui-key.c +++ b/src/gui/gui-key.c @@ -1042,7 +1042,7 @@ gui_key_focus_command (const char *key, int context, { struct t_gui_key *ptr_key; int i, matching, debug, rc; - long unsigned int value; + unsigned long value; char *command, **commands; const char *str_buffer; struct t_hashtable *hashtable; diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c index 1b952b1c2..9297c522b 100644 --- a/src/gui/gui-line.c +++ b/src/gui/gui-line.c @@ -1343,7 +1343,7 @@ gui_line_hook_update (struct t_gui_line *line, { const char *ptr_value, *ptr_value2; struct t_gui_buffer *ptr_buffer; - long unsigned int value_pointer; + unsigned long value_pointer; long value; char *error; int rc, tags_updated, notify_level_updated, highlight_updated; diff --git a/src/gui/gui-nicklist.c b/src/gui/gui-nicklist.c index f8c35a3a9..662cda038 100644 --- a/src/gui/gui-nicklist.c +++ b/src/gui/gui-nicklist.c @@ -70,7 +70,7 @@ gui_nicklist_send_signal (const char *signal, struct t_gui_buffer *buffer, { snprintf (str_args, length, "0x%lx,%s", - (long unsigned int)(buffer), + (unsigned long)(buffer), (arguments) ? arguments : ""); (void) hook_signal_send (signal, WEECHAT_HOOK_SIGNAL_STRING, str_args); |