Clean up signedness confusion in divelist.c

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-03-09 18:20:19 -08:00
parent f2c40907c5
commit d2f7732d22

View file

@ -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;