summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port.c')
-rw-r--r--src/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port.c b/src/port.c
index eca3e83..2acdf78 100644
--- a/src/port.c
+++ b/src/port.c
@@ -52,7 +52,7 @@ static guint port_signals[PORT_LAST_SIGNAL];
static void
ganv_port_init(GanvPort* port)
{
- port->impl = ganv_port_get_instance_private(port);
+ port->impl = (GanvPortPrivate*)ganv_port_get_instance_private(port);
port->impl->control = NULL;
port->impl->value_label = NULL;