diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2020-09-14 08:15:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 10:15:31 -0500 |
commit | c82d061abb0c011da2700051b7a0548f5d59904b (patch) | |
tree | 16e001492ec264cf08eaedf72d07927324b12147 /src/preprocessing | |
parent | 21439d98e9afe1541bb0f5371c4ab0011666bd5e (diff) |
Fix type for Windows build (#5062)
The BVToInt preprocessing pass was using uint, which appears to be
undefined when we cross-compile for Windows. This commit fixes the issue
by using size_t.
Diffstat (limited to 'src/preprocessing')
-rw-r--r-- | src/preprocessing/passes/bv_to_int.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preprocessing/passes/bv_to_int.cpp b/src/preprocessing/passes/bv_to_int.cpp index c219deefe..65703e40c 100644 --- a/src/preprocessing/passes/bv_to_int.cpp +++ b/src/preprocessing/passes/bv_to_int.cpp @@ -877,7 +877,7 @@ Node BVToInt::reconstructNode(Node originalNode, { builder << originalNode.getOperator(); } - for (uint i = 0; i < originalNode.getNumChildren(); i++) + for (size_t i = 0; i < originalNode.getNumChildren(); i++) { Node originalChild = originalNode[i]; Node translatedChild = translated_children[i]; |