Skip to content

Commit

Permalink
Fix this cast
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Feb 23, 2024
1 parent e8bac58 commit 834f09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/librsvg-helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int rsvg_destroy_handle(RsvgHandle *handle) {
}

RsvgRectangle *rsvg_rectangle_create(void) {
return calloc(1, sizeof(RsvgRectangle));
return (RsvgRectangle *)calloc(1, sizeof(RsvgRectangle));
}

void rsvg_rectangle_destroy(RsvgRectangle *rect) { free(rect); }
Expand Down

0 comments on commit 834f09b

Please sign in to comment.