diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-07-17 16:50:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-17 16:50:03 -0700 |
commit | 2f84a85dc99424d08a27460edaa8b41faa3c3aab (patch) | |
tree | f7ed3ffdd96621f22dd48ad596aa1134984dc7c9 /core/uemis-downloader.c | |
parent | 071e3f993348ba1eb9f224c7fd40aec921322189 (diff) | |
download | subsurface-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/uemis-downloader.c')
-rw-r--r-- | core/uemis-downloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/uemis-downloader.c b/core/uemis-downloader.c index 7c91f985a..023ac8eaa 100644 --- a/core/uemis-downloader.c +++ b/core/uemis-downloader.c @@ -1120,7 +1120,7 @@ static void get_uemis_divespot(const char *mountpath, int divespot_id, struct di } } -static bool get_matching_dive(int idx, char *newmax, int *uemis_mem_status, dc_user_device_t *data, const char *mountpath, const char deviceidnr) +static bool get_matching_dive(int idx, char *newmax, int *uemis_mem_status, device_data_t *data, const char *mountpath, const char deviceidnr) { struct dive *dive = data->download_table->dives[idx]; char log_file_no_to_find[20]; |