summaryrefslogtreecommitdiff
path: root/src/intersim2/networks/anynet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intersim2/networks/anynet.cpp')
-rw-r--r--src/intersim2/networks/anynet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intersim2/networks/anynet.cpp b/src/intersim2/networks/anynet.cpp
index 4db1dfb..d7c6f22 100644
--- a/src/intersim2/networks/anynet.cpp
+++ b/src/intersim2/networks/anynet.cpp
@@ -491,7 +491,7 @@ void AnyNet::readFile(){
}
sort(node_check.begin(), node_check.end());
for(size_t i = 0; i<node_check.size(); i++){
- if(node_check[i] != i){
+ if(node_check[i] != (int)i){
cout<<"Anynet:booksim trafficmanager assumes sequential node numbering starting at 0\n";
assert(false);
}