summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-03 00:10:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-03 00:10:39 -0700
commitb249370ffec79785b8dd7454e94300f1c793d39f (patch)
treea0ef81bb623b2ce49904e05ff4f487a32a9c6cc5 /dive.c
parentdbdff1c0afe958c00cae9344ba50fe31e43b243d (diff)
downloadsubsurface-b249370ffec79785b8dd7454e94300f1c793d39f.tar.gz
Not all C compilers like uint
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dive.c b/dive.c
index 6d9be7dfb..065d45529 100644
--- a/dive.c
+++ b/dive.c
@@ -2282,9 +2282,9 @@ void dive_add_picture(struct dive *d, struct picture *picture)
return;
}
-uint dive_get_picture_count(struct dive *d)
+unsigned int dive_get_picture_count(struct dive *d)
{
- uint i = 0;
+ unsigned int i = 0;
FOR_EACH_PICTURE( d )
i++;
return i;