summaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 18:03:46 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 21:46:29 -0800
commitee6f60515cbb22d3946780e7a9bbfcc38133121c (patch)
tree2d9febd2a1ecfb647ea15cc3bef3751034b874b1 /subsurface-core
parenta61ce696a41220db3565f9230f84b40a6400f9ca (diff)
downloadsubsurface-ee6f60515cbb22d3946780e7a9bbfcc38133121c.tar.gz
Silence warnings in cochran.c
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-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)
{