From d2f7732d22bbbac706dffca40d587d00d6f8deab Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Mar 2016 18:20:19 -0800 Subject: Clean up signedness confusion in divelist.c Signed-off-by: Dirk Hohndel --- subsurface-core/divelist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'subsurface-core/divelist.c') diff --git a/subsurface-core/divelist.c b/subsurface-core/divelist.c index 1e9065d8b..de4fa528e 100644 --- a/subsurface-core/divelist.c +++ b/subsurface-core/divelist.c @@ -205,7 +205,8 @@ int const cns_table[][3] = { * so we calculated it "by hand" */ static int calculate_cns(struct dive *dive) { - int i, j, divenr; + int i, divenr; + size_t j; double cns = 0.0; struct divecomputer *dc = &dive->dc; struct dive *prev_dive; -- cgit v1.2.3-70-g09d2