aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subsurface-core/cochran.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/cochran.c b/subsurface-core/cochran.c
index 5dc7eff11..b42ed8233 100644
--- a/subsurface-core/cochran.c
+++ b/subsurface-core/cochran.c
@@ -434,7 +434,7 @@ static void cochran_dive_event(struct divecomputer *dc, const unsigned char *s,
* Parse sample data, extract events and build a dive
*/
static void cochran_parse_samples(struct dive *dive, const unsigned char *log,
- const unsigned char *samples, int size,
+ const unsigned char *samples, unsigned int size,
unsigned int *duration, double *max_depth,
double *avg_depth, double *min_temp)
{