From 043cd5c50bf9b3029f240b816b222facefbce548 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 23 Apr 2023 08:59:14 +0200 Subject: [PATCH] Fixed warning. --- data.c | 2 +- snac.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data.c b/data.c index 73244a5..5c71c8e 100644 --- a/data.c +++ b/data.c @@ -1103,7 +1103,7 @@ int following_add(snac *snac, const char *actor, const xs_dict *msg) } -int following_del(snac *snac, char *actor) +int following_del(snac *snac, const char *actor) /* we're not following this actor any longer */ { xs *fn = _following_fn(snac, actor); diff --git a/snac.h b/snac.h index 224dec2..d38494b 100644 --- a/snac.h +++ b/snac.h @@ -113,7 +113,7 @@ xs_list *timeline_top_level(snac *snac, xs_list *list); d_char *local_list(snac *snac, int max); int following_add(snac *snac, const char *actor, const xs_dict *msg); -int following_del(snac *snac, char *actor); +int following_del(snac *snac, const char *actor); int following_check(snac *snac, const char *actor); int following_get(snac *snac, const char *actor, d_char **data); d_char *following_list(snac *snac);