summaryrefslogtreecommitdiffstats
path: root/src/box.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-18 11:56:49 +0200
committerDavid Robillard <d@drobilla.net>2020-07-18 11:56:49 +0200
commite3bf14f71f976d08e5efb5d832b82c567eac9c14 (patch)
treed4cf35e108b96ea51f781be4b73a9367df6e3765 /src/box.c
parentdced6ada2b53c601ed6a90849cd54a78b6485980 (diff)
downloadganv-e3bf14f71f976d08e5efb5d832b82c567eac9c14.tar.gz
ganv-e3bf14f71f976d08e5efb5d832b82c567eac9c14.tar.bz2
ganv-e3bf14f71f976d08e5efb5d832b82c567eac9c14.zip
Add missing casts for C++ compatibility
Diffstat (limited to 'src/box.c')
-rw-r--r--src/box.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/box.c b/src/box.c
index 3ecb99d..4ee8e29 100644
--- a/src/box.c
+++ b/src/box.c
@@ -49,7 +49,7 @@ enum {
static void
ganv_box_init(GanvBox* box)
{
- box->impl = ganv_box_get_instance_private(box);
+ box->impl = (GanvBoxPrivate*)ganv_box_get_instance_private(box);
memset(&box->impl->coords, '\0', sizeof(GanvBoxCoords));