diff options
Diffstat (limited to 'subsurface-core/divelist.c')
-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; |