}
static Eina_Bool
-evas_image_load_file_head_psd(Image_Entry *ie, const char *FileName, const char *key, int *error)
+evas_image_load_file_head_psd(Image_Entry *ie, const char *FileName,
+ const char *key __UNUSED__, int *error)
{
FILE *f;
PSD_Header header;
static unsigned int
read_compressed_channel(FILE* file,
- const unsigned int channel_length, unsigned int size,
+ const unsigned int channel_length __UNUSED__,
+ unsigned int size,
unsigned char* channel)
{
// FIXME: what does channel_length means, and why is it not used
Eina_Bool
-psd_get_data(Image_Entry *ie,
+psd_get_data(Image_Entry *ie __UNUSED__,
PSD_Header *head,
FILE *f,
unsigned char *buffer, Eina_Bool compressed,
for (y = 0; y < head->height * bps2; y += bps2)
{
- for (x = 0; x < bps2; x += bpp, shortptr++)
+ for (x = 0; x < (unsigned int)bps2; x += bpp, shortptr++)
{
((unsigned short*)data)[y + x + c] = *shortptr;
}
for (y = 0; y < head->height * bps2; y += bps2)
{
- for (x = 0; x < bps2; x += bpp, shortptr)
+ for (x = 0; x < (unsigned int)bps2; x += bpp, shortptr)
{
unsigned int newval;
Eina_Bool
-get_single_channel(Image_Entry *ie,
+get_single_channel(Image_Entry *ie __UNUSED__,
PSD_Header *head,
FILE *f,
unsigned char *buffer,
}
else
{
- for (i = 0; i < pixels_count; )
+ for (i = 0; i < (unsigned int)pixels_count; )
{
CHECK_RET(fread(&headbyte, 1, 1, f), 1);
{
unsigned int color_mode, resource_size, misc_info;
unsigned short compressed;
- unsigned int format, type;
+ unsigned int type;
void *surface;
#define CHECK_RET(Call, Value) \
static Eina_Bool
evas_image_load_file_data_psd(Image_Entry *ie,
const char *file,
- const char *key,
+ const char *key __UNUSED__,
int *error)
{
FILE *f;