diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-09-20 15:13:18 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-20 15:13:18 -0700 |
commit | 7fa039994909cbbfc86d94ddea4a9c8867b0ed6c (patch) | |
tree | 6f334d68afac25ec29f1459dfe7bf0f24b1669b6 /save-xml.c | |
parent | 7e8a4760100ae091a5692285cc4b5da1f005b617 (diff) | |
download | subsurface-7fa039994909cbbfc86d94ddea4a9c8867b0ed6c.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |