mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Not all C compilers like uint
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
dbdff1c0af
commit
b249370ffe
2 changed files with 3 additions and 3 deletions
4
dive.c
4
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;
|
||||
|
|
2
dive.h
2
dive.h
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue