summaryrefslogtreecommitdiff
path: root/src/svf
diff options
context:
space:
mode:
Diffstat (limited to 'src/svf')
-rw-r--r--src/svf/svf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c
index 1c746f38..dfdecbcd 100644
--- a/src/svf/svf.c
+++ b/src/svf/svf.c
@@ -470,7 +470,8 @@ free_all:
#define SVFP_CMD_INC_CNT 1024
static int svf_read_command_from_file(int fd)
{
- char ch, *tmp_buffer = NULL;
+ unsigned char ch;
+ char *tmp_buffer = NULL;
int cmd_pos = 0, cmd_ok = 0, slash = 0, comment = 0;
while (!cmd_ok && (read(fd, &ch, 1) > 0))