summaryrefslogtreecommitdiffstats
path: root/src/io_redir.c
diff options
context:
space:
mode:
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;