summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorSebastian Dransfeld <sebastian.dransfeld@sintef.no>2013-08-07 10:57:13 +0200
committerSebastian Dransfeld <sebastian.dransfeld@sintef.no>2013-08-07 13:02:53 +0200
commit8327903b998ce5ed79f7c361fb27db14ae0e2a7e (patch)
tree6b3d73dacdf8af1b5b007b1d968e6785d388d8f3 /src/lib/efreet
parenta8d70f803cc4c9c1da3eb9e0bfbdea41229d4398 (diff)
efreet: fgetc returns int
CID: #1039720
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_mime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/efreet/efreet_mime.c b/src/lib/efreet/efreet_mime.c
index 7232176804..b21a75e1a5 100644
--- a/src/lib/efreet/efreet_mime.c
+++ b/src/lib/efreet/efreet_mime.c
@@ -1242,7 +1242,8 @@ efreet_mime_magic_check_priority(const char *file,
1242 FILE *f = NULL; 1242 FILE *f = NULL;
1243 unsigned int i = 0, offset = 0,level = 0, match = 0, bytes_read = 0; 1243 unsigned int i = 0, offset = 0,level = 0, match = 0, bytes_read = 0;
1244 const char *last_mime = NULL; 1244 const char *last_mime = NULL;
1245 char c, v, buf[EFREET_MIME_MAGIC_BUFFER_SIZE]; 1245 int c;
1246 char v, buf[EFREET_MIME_MAGIC_BUFFER_SIZE];
1246 1247
1247 f = fopen(file, "rb"); 1248 f = fopen(file, "rb");
1248 if (!f) return NULL; 1249 if (!f) return NULL;