diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-05-15 16:12:03 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-05-15 16:12:03 +0200 |
commit | 1e56a602e81936525d4f122436d7e99087d0d4e3 (patch) | |
tree | ba495224e2f61a60bc3ea5df2dcde76d53eb1900 /src | |
parent | 20762001674c92ed7b2fd0eb0404d2a55cbee088 (diff) | |
download | evas_generic_loaders-1e56a602e81936525d4f122436d7e99087d0d4e3.tar.gz |
well, shut up some warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/ps/main.c | 6 | ||||
-rw-r--r-- | src/bin/xcf/main.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/ps/main.c b/src/bin/ps/main.c index 39a34e6..3caa615 100644 --- a/src/bin/ps/main.c +++ b/src/bin/ps/main.c @@ -24,7 +24,7 @@ SpectreDocument *psdoc; -unsigned int page_count; +int page_count; SpectrePage *page; @@ -82,7 +82,7 @@ _spectre_init(const char *file, int page_nbr, int size_w, int size_h) if (status != SPECTRE_STATUS_SUCCESS) { D("[eps] %s\n", spectre_status_to_string (status)); - goto free_psdoc; + goto free_page; } spectre_page_get_size(page, &ww, &hh); @@ -163,7 +163,7 @@ _pixcopy(DATA32 *dst, unsigned char *src, int size) } static void -_spectre_load_image(int size_w, int size_h) +_spectre_load_image(int size_w EINA_UNUSED, int size_h EINA_UNUSED) { SpectreRenderContext *rc; unsigned char *psdata; diff --git a/src/bin/xcf/main.c b/src/bin/xcf/main.c index 62212cf..dca44d0 100644 --- a/src/bin/xcf/main.c +++ b/src/bin/xcf/main.c @@ -942,7 +942,7 @@ xcf_load_channel(void) FREE(name); /* create a new channel */ - layer = new_layer(width, height, GRAY, 255, NORMAL_MODE); + layer = new_layer(width, height, GRAY_GIMAGE, 255, NORMAL_MODE); if (!layer) return NULL; /* read in the channel properties */ if (!xcf_load_channel_props(layer)) goto error; |