summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/typing/typing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/typing/typing.c b/src/plugins/typing/typing.c
index 51fc3385a..5db242320 100644
--- a/src/plugins/typing/typing.c
+++ b/src/plugins/typing/typing.c
@@ -289,17 +289,17 @@ typing_status_nicks_status_map_cb (void *data,
struct t_hashtable *hashtable,
const void *key, const void *value)
{
- const char *ptr_nick;
+ struct t_gui_buffer *ptr_buffer;
struct t_typing_status *ptr_typing_status;
time_t current_time;
int delay_purge_pause, delay_purge_typing;
current_time = *((time_t *)data);
- ptr_nick = (const char *)key;
+ ptr_buffer = (struct t_gui_buffer *)key;
ptr_typing_status = (struct t_typing_status *)value;
- if (!ptr_nick || !ptr_typing_status)
+ if (!ptr_buffer || !ptr_typing_status)
return;
delay_purge_pause = weechat_config_integer (