diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 18:20:19 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 21:47:02 -0800 |
commit | d2f7732d22bbbac706dffca40d587d00d6f8deab (patch) | |
tree | c23db59ebb8c53ef7573cacbb3a92199ed34420a | |
parent | f2c40907c53ac403e0354d97d7d2fc7ae701ee5e (diff) | |
download | subsurface-d2f7732d22bbbac706dffca40d587d00d6f8deab.tar.gz |
Clean up signedness confusion in divelist.c
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-core/divelist.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |