fix: remove casting
@@ -23,7 +23,7 @@ load_presence_from_json(client *client, char filename[])
char *json_payload = orka_load_whole_file(filename, &len);
presence::dati *new_presence = presence::dati_alloc();
- presence::dati_from_json(json_payload, len, (void*)new_presence);
+ presence::dati_from_json(json_payload, len, new_presence);
replace_presence(client, new_presence);
