summaryrefslogtreecommitdiff
path: root/src/intersim2/vc.cpp
diff options
context:
space:
mode:
authorAhmad Alawneh <[email protected]>2023-06-07 00:05:06 -0400
committerAhmad Alawneh <[email protected]>2023-06-12 20:31:30 -0400
commitccf6662429efcfcf28d1050455163e41553a31f6 (patch)
tree3ae6369d5165c2a825c05223fa91a02f090312cb /src/intersim2/vc.cpp
parente700b1816492bb811e5aa12d1b1b0ec778e04235 (diff)
fix more Wsign warnings
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 << ")";