efreet: fgetc returns int

CID: #1039720
This commit is contained in:
Sebastian Dransfeld 2013-08-07 10:57:13 +02:00
parent a8d70f803c
commit 8327903b99
1 changed files with 2 additions and 1 deletions

View File

@ -1242,7 +1242,8 @@ efreet_mime_magic_check_priority(const char *file,
FILE *f = NULL;
unsigned int i = 0, offset = 0,level = 0, match = 0, bytes_read = 0;
const char *last_mime = NULL;
char c, v, buf[EFREET_MIME_MAGIC_BUFFER_SIZE];
int c;
char v, buf[EFREET_MIME_MAGIC_BUFFER_SIZE];
f = fopen(file, "rb");
if (!f) return NULL;