diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 4c82d9eee..c9fcb9db6 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -5963,7 +5963,7 @@ uint32_t dc_event_get_account_id(dc_event_t* event); * @return The json representation of the event as string or NULL. * Must be freed using dc_str_unref(). */ -uint32_t dc_event_get_json(dc_event_t* event); +char* dc_event_get_json(dc_event_t* event); /** * Free memory used by an event object.