summaryrefslogtreecommitdiff
path: root/navit/vehicle.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/vehicle.c')
-rw-r--r--navit/vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/vehicle.c b/navit/vehicle.c
index db5babfef..89db36e0a 100644
--- a/navit/vehicle.c
+++ b/navit/vehicle.c
@@ -245,7 +245,7 @@ vehicle_new(struct attr *parent, struct attr **attrs)
struct attr_iter *
vehicle_attr_iter_new(void)
{
- return g_new0(void *,1);
+ return g_new0(struct attr_iter,1);
}
void