summaryrefslogtreecommitdiff
path: root/src/intersim2/vc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intersim2/vc.cpp')
-rw-r--r--src/intersim2/vc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intersim2/vc.cpp b/src/intersim2/vc.cpp
index 94e8c6b..4c94445 100644
--- a/src/intersim2/vc.cpp
+++ b/src/intersim2/vc.cpp
@@ -82,7 +82,7 @@ void VC::AddFlit( Flit *f )
assert(f);
if(_expected_pid >= 0) {
- if(f->pid != _expected_pid) {
+ if((long long int)f->pid != _expected_pid) {
ostringstream err;
err << "Received flit " << f->id << " with unexpected packet ID: " << f->pid
<< " (expected: " << _expected_pid << ")";