aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/simplify.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-02-13 17:31:24 +0100
committerClifford Wolf <clifford@clifford.at>2016-02-13 17:31:24 +0100
commitbcc873b805f8ec74422752da530b71d8d762bded (patch)
treeeffe0c5495a8c2a55235bd2db1bd635923d97528 /frontends/ast/simplify.cc
parent6f1d694171a5fd667f05402cc4e93fe2c66428e4 (diff)
downloadyosys-bcc873b805f8ec74422752da530b71d8d762bded.tar.gz
yosys-bcc873b805f8ec74422752da530b71d8d762bded.tar.bz2
yosys-bcc873b805f8ec74422752da530b71d8d762bded.zip
Fixed some visual studio warnings
Diffstat (limited to 'frontends/ast/simplify.cc')
-rw-r--r--frontends/ast/simplify.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc
index 2264d896a..2621be490 100644
--- a/frontends/ast/simplify.cc
+++ b/frontends/ast/simplify.cc
@@ -1705,7 +1705,7 @@ skip_dynamic_range_lvalue_expansion:;
while (node_addr->simplify(true, false, false, stage, width_hint, sign_hint, false)) { }
if (node_addr->type != AST_CONSTANT)
log_error("Failed to evaluate system function `%s' with non-constant 3rd argument at %s:%d.\n", str.c_str(), filename.c_str(), linenum);
- start_addr = node_addr->asInt(false);
+ start_addr = int(node_addr->asInt(false));
}
if (GetSize(children) > 3) {
@@ -1713,7 +1713,7 @@ skip_dynamic_range_lvalue_expansion:;
while (node_addr->simplify(true, false, false, stage, width_hint, sign_hint, false)) { }
if (node_addr->type != AST_CONSTANT)
log_error("Failed to evaluate system function `%s' with non-constant 4th argument at %s:%d.\n", str.c_str(), filename.c_str(), linenum);
- finish_addr = node_addr->asInt(false);
+ finish_addr = int(node_addr->asInt(false));
}
bool unconditional_init = false;