diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-05-07 09:39:29 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-05-07 09:39:29 +0200 |
commit | 82e595f4a77caa491631c395ab2c600c93ae6926 (patch) | |
tree | 7c46f89e66833ac8801f0b28a3dcf765580b5f05 | |
parent | f6cc37cab36f48d67b5b80e90e2d18d4b4c1f080 (diff) | |
download | evas_generic_loaders-82e595f4a77caa491631c395ab2c600c93ae6926.tar.gz |
silence warnings: shadows and different signs
-rw-r--r-- | src/bin/ps/main.c | 8 | ||||
-rw-r--r-- | src/bin/raw/main.c | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/bin/ps/main.c b/src/bin/ps/main.c index 3caa615..a994ec2 100644 --- a/src/bin/ps/main.c +++ b/src/bin/ps/main.c @@ -210,7 +210,7 @@ main(int argc, char **argv) int i; int size_w = 0, size_h = 0; int head_only = 0; - int page = 0; + int page_nbr = 0; if (argc < 2) return -1; // file is ALWAYS first arg, other options come after @@ -223,7 +223,7 @@ main(int argc, char **argv) else if (!strcmp(argv[i], "-key")) { i++; - page = atoi(argv[i]); + page_nbr = atoi(argv[i]); i++; } else if (!strcmp(argv[i], "-opt-scale-down-by")) @@ -248,11 +248,11 @@ main(int argc, char **argv) D("_spectre_init_file\n"); D("dpi....: %f\n", dpi); - D("page...: %d\n", page); + D("page...: %d\n", page_nbr); timeout_init(10); - if (!_spectre_init(file, page, size_w, size_h)) + if (!_spectre_init(file, page_nbr, size_w, size_h)) return -1; D("_spectre_init done\n"); diff --git a/src/bin/raw/main.c b/src/bin/raw/main.c index 31626c2..98476f3 100644 --- a/src/bin/raw/main.c +++ b/src/bin/raw/main.c @@ -111,7 +111,8 @@ read_raw_header() static int read_raw_data() { - int ret, count; + int ret; + unsigned int count; libraw_processed_image_t *image = NULL; DATA8 *bufptr; DATA32 *dataptr; |