mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Fixed some visual studio warnings
This commit is contained in:
parent
6f1d694171
commit
bcc873b805
8 changed files with 10 additions and 10 deletions
|
@ -193,7 +193,7 @@ std::string vstringf(const char *fmt, va_list ap)
|
|||
|
||||
int readsome(std::istream &f, char *s, int n)
|
||||
{
|
||||
int rc = f.readsome(s, n);
|
||||
int rc = int(f.readsome(s, n));
|
||||
|
||||
// f.readsome() sometimes returns 0 on a non-empty stream..
|
||||
if (rc == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue