diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-10-11 11:36:22 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-11 11:36:22 +0200 |
commit | 8263f6a74a822579f3c1da7d8b128ea8ab7b4d79 (patch) | |
tree | dbeedfef238d40f2c882779cb6128346998dce71 /passes | |
parent | a32e067e5c96bacc1f0280f9f1bfd979af2171db (diff) | |
download | yosys-8263f6a74a822579f3c1da7d8b128ea8ab7b4d79.tar.gz yosys-8263f6a74a822579f3c1da7d8b128ea8ab7b4d79.tar.bz2 yosys-8263f6a74a822579f3c1da7d8b128ea8ab7b4d79.zip |
Fixed win32 troubles with f.readsome()
Diffstat (limited to 'passes')
-rw-r--r-- | passes/cmds/write_file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/write_file.cc b/passes/cmds/write_file.cc index 9f22861a5..3f4419724 100644 --- a/passes/cmds/write_file.cc +++ b/passes/cmds/write_file.cc @@ -70,7 +70,7 @@ struct WriteFileFrontend : public Frontend { char buffer[64 * 1024]; size_t bytes; - while (0 < (bytes = f->readsome(buffer, sizeof(buffer)))) + while (0 < (bytes = readsome(*f, buffer, sizeof(buffer)))) fwrite(buffer, bytes, 1, of); fclose(of); |