diff options
| author | Ahmad Alawneh <[email protected]> | 2023-06-07 00:05:06 -0400 |
|---|---|---|
| committer | Ahmad Alawneh <[email protected]> | 2023-06-12 20:31:30 -0400 |
| commit | ccf6662429efcfcf28d1050455163e41553a31f6 (patch) | |
| tree | 3ae6369d5165c2a825c05223fa91a02f090312cb /src/gpgpu-sim/addrdec.cc | |
| parent | e700b1816492bb811e5aa12d1b1b0ec778e04235 (diff) | |
fix more Wsign warnings
Diffstat (limited to 'src/gpgpu-sim/addrdec.cc')
| -rw-r--r-- | src/gpgpu-sim/addrdec.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/addrdec.cc b/src/gpgpu-sim/addrdec.cc index 19714ec..f4f83f9 100644 --- a/src/gpgpu-sim/addrdec.cc +++ b/src/gpgpu-sim/addrdec.cc @@ -519,7 +519,7 @@ void linear_to_raw_address_translation::sweep_test() const { h->second, raw_addr); abort(); } else { - assert((int)tlx.chip < m_n_channel); + assert(tlx.chip < m_n_channel); // ensure that partition_address() returns the concatenated address if ((ADDR_CHIP_S != -1 and raw_addr >= (1ULL << ADDR_CHIP_S)) or (ADDR_CHIP_S == -1 and raw_addr >= (1ULL << addrdec_mklow[CHIP]))) { |
