diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2013-12-21 14:15:29 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2013-12-21 14:15:29 +0000 |
commit | 679b766743bf443d3722827fa1fca3e6fc230b34 (patch) | |
tree | 6d0fe77ccda4872e924c49fccd07824ecd8ff4ea | |
parent | 05151bd2f046da0d934a831bfd15edccae91b3d0 (diff) | |
download | libgphoto2-679b766743bf443d3722827fa1fca3e6fc230b34.tar.gz |
unsigned int
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14598 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | libgphoto2/jpeg.c | 4 | ||||
-rw-r--r-- | libgphoto2/jpeg.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libgphoto2/jpeg.c b/libgphoto2/jpeg.c index cd16c12ee..ba3839bc7 100644 --- a/libgphoto2/jpeg.c +++ b/libgphoto2/jpeg.c @@ -128,9 +128,9 @@ char gpi_jpeg_findactivemarker(char *id, int *location, chunk *picture) return 0; } -char *gpi_jpeg_markername(int c) +char *gpi_jpeg_markername(unsigned int c) { - int x; + unsigned int x; /* printf("searching for marker %X in list\n",c); */ /* printf("%i\n", sizeof(markers)); */ for (x=0; x<countof(JPEG_MARKERS); x++) diff --git a/libgphoto2/jpeg.h b/libgphoto2/jpeg.h index bbc83e1a4..8b22cdcbc 100644 --- a/libgphoto2/jpeg.h +++ b/libgphoto2/jpeg.h @@ -51,7 +51,7 @@ void gpi_jpeg_chunk_print(chunk *mychunk); char gpi_jpeg_findff(int *location, chunk *picture); char gpi_jpeg_findactivemarker(char *id, int *location, chunk *picture); -char *gpi_jpeg_markername(int c); +char *gpi_jpeg_markername(unsigned int c); jpeg *gpi_jpeg_new (void); void gpi_jpeg_destroy (jpeg *myjpeg); |