diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-03 00:10:39 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-03 00:10:39 -0700 |
commit | b249370ffec79785b8dd7454e94300f1c793d39f (patch) | |
tree | a0ef81bb623b2ce49904e05ff4f487a32a9c6cc5 | |
parent | dbdff1c0afe958c00cae9344ba50fe31e43b243d (diff) | |
download | subsurface-b249370ffec79785b8dd7454e94300f1c793d39f.tar.gz |
Not all C compilers like uint
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | dive.c | 4 | ||||
-rw-r--r-- | dive.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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; @@ -298,7 +298,7 @@ struct picture { extern struct picture *alloc_picture(); extern void dive_add_picture(struct dive *d, struct picture *pic); extern void dive_remove_picture(struct dive *d, struct picture *pic); -extern uint dive_get_picture_count(struct dive *d); +extern unsigned int dive_get_picture_count(struct dive *d); extern void picture_load_exif_data(struct picture *p); extern void dive_set_geodata_from_picture(struct dive *d, struct picture *pic); |