From 7fa039994909cbbfc86d94ddea4a9c8867b0ed6c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 20 Sep 2012 15:13:18 -0700 Subject: [PATCH] Fix dive trip saving bug When switching the dive trips to be stored in a different data structure I forgot to update the code in save_trip() - and since we were passing the pointer around via a gpointer the compiler didn't catch this. Oops. Signed-off-by: Dirk Hohndel --- save-xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/save-xml.c b/save-xml.c index 55740ce92..cd5ccf94c 100644 --- a/save-xml.c +++ b/save-xml.c @@ -282,7 +282,7 @@ static void save_events(FILE *f, struct event *ev) } } -static void save_trip(FILE *f, struct dive *trip) +static void save_trip(FILE *f, dive_trip_t *trip) { struct tm tm;