summaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-17 16:50:03 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-17 16:50:03 -0700
commit2f84a85dc99424d08a27460edaa8b41faa3c3aab (patch)
treef7ed3ffdd96621f22dd48ad596aa1134984dc7c9 /core/libdivecomputer.c
parent071e3f993348ba1eb9f224c7fd40aec921322189 (diff)
downloadsubsurface-2f84a85dc99424d08a27460edaa8b41faa3c3aab.tar.gz
Resolve type confusion
No idea why this now shows up as an error in the iOS build. We need to refer to the typedef, not the underlying struct. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/libdivecomputer.c')
-rw-r--r--core/libdivecomputer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c
index 9fbac0459..57264aa83 100644
--- a/core/libdivecomputer.c
+++ b/core/libdivecomputer.c
@@ -603,7 +603,7 @@ static void parse_string_field(struct dive *dive, dc_field_string_t *str)
}
#endif
-static dc_status_t libdc_header_parser(dc_parser_t *parser, dc_user_device_t *devdata, struct dive *dive)
+static dc_status_t libdc_header_parser(dc_parser_t *parser, device_data_t *devdata, struct dive *dive)
{
dc_status_t rc = 0;
dc_datetime_t dt = { 0 };