diff --git a/src/c/groups.c b/src/c/groups.c index 7ea2567..a98ae1f 100755 --- a/src/c/groups.c +++ b/src/c/groups.c @@ -1,3 +1,4 @@ +#include #include "presage.h" /* @@ -133,7 +134,7 @@ void presage_handle_groups(PurpleConnection *connection, const Group *groups, ui // TODO: add group to blist for (uint64_t i = 0; i < length; i++) { - purple_debug_warning(PLUGIN_NAME, "got group %s ā€ž%sā€œ with %ld members\n", groups[i].key, groups[i].title, groups[i].population); + purple_debug_warning(PLUGIN_NAME, "got group %s ā€ž%sā€œ with %" PRIu64 " members\n", groups[i].key, groups[i].title, groups[i].population); if (groups[i].population == 0) { // An empty group. This is not a group, but rather a contact. // TODO: Declare an addtional type for more clarity. Use separate code-paths.