Type Conversion required when using --file
This commit is contained in:
parent
192cb80c08
commit
8ba18ebcdb
|
@ -445,7 +445,7 @@ void readDataFromFile(void) {
|
|||
}
|
||||
|
||||
toread = MODES_ASYNC_BUF_SIZE;
|
||||
p = Modes.data;
|
||||
p = (unsigned char *) Modes.data;
|
||||
while(toread) {
|
||||
nread = read(Modes.fd, p, toread);
|
||||
if (nread <= 0) {
|
||||
|
|
Loading…
Reference in a new issue