diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2013-08-27 09:46:38 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2013-08-27 09:46:38 +0000 |
commit | 5bb33048f40d0c3e0a0b689ce1c67681bc56547f (patch) | |
tree | 369d3e2e3e4db5901968ff2ae71a132a32456efa /camlibs/canon | |
parent | 2bc0c44d548356aa93b76d497222831e779a5197 (diff) | |
download | libgphoto2-5bb33048f40d0c3e0a0b689ce1c67681bc56547f.tar.gz |
int -> unsigned int for loop counters
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14515 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/canon')
-rw-r--r-- | camlibs/canon/canon.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/camlibs/canon/canon.c b/camlibs/canon/canon.c index 93dccee79..321c5a852 100644 --- a/camlibs/canon/canon.c +++ b/camlibs/canon/canon.c @@ -1718,7 +1718,8 @@ canon_int_get_release_params (Camera *camera, GPContext *context) { unsigned char *response = NULL; unsigned int len = 0x8c; - int i, status; + unsigned int i; + int status; GP_DEBUG ("canon_int_get_release_params()"); @@ -4059,7 +4060,8 @@ canon_int_extract_jpeg_thumb (unsigned char *data, const unsigned int datalen, * software assume that the EXIF is included in the * JPEG thumbnail and just fetch the thumbnail to get * the EXIF data. */ - int ifd0_offset, ifd1_offset, n_tags; + unsigned int n_tags; + int ifd0_offset, ifd1_offset; int jpeg_offset = -1, jpeg_size = -1; GP_DEBUG ( "canon_int_extract_jpeg_thumb: this is from a CR2 file."); |