summaryrefslogtreecommitdiffstats
path: root/src/io_redir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-02-03 09:29:29 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-02-03 09:29:29 +0100
commit203df0e3a588f01ebfb60428eb1a5ab258a4969d (patch)
tree022c7facc406d0eea910638c7b41355964ee8549 /src/io_redir.c
parentc6e94c6adfe071f4510190069638d70d59675f42 (diff)
Fix some compilation warnings
Diffstat (limited to 'src/io_redir.c')
-rw-r--r--src/io_redir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/io_redir.c b/src/io_redir.c
index c9b9c5b..a8f85ca 100644
--- a/src/io_redir.c
+++ b/src/io_redir.c
@@ -33,7 +33,6 @@
#include <errno.h>
#include "types.h"
#include "common.h"
-#include "fnctdsk.h"
#include "io_redir.h"
#include "log.h"
@@ -209,7 +208,7 @@ static int io_redir_pread(disk_t *disk_car, void *buffer, const unsigned int cou
#endif
res=data->disk_car->pread(data->disk_car, buffer, read_size, current_offset);
}
- if(res!=read_size)
+ if((unsigned)res!=read_size)
return res;
current_count-=read_size;
current_offset+=read_size;