weather-monitor: use uint32_t for instruction pointer
This fixes a gcc 4.7 warning: comparison between signed and unsigned integer expressions [-Wsign-compare]. Change-Id: If440567c2767494f456e8e68df29e2f8d1582955
This commit is contained in:
@ -227,7 +227,7 @@ bool WeatherMonitorExperiment::run()
|
||||
byte_t newdata = data ^ (1 << bit_offset);
|
||||
mm.setByte(data_address, newdata);
|
||||
// note at what IP we did it
|
||||
int32_t injection_ip = simulator.getCPU(0).getInstructionPointer();
|
||||
uint32_t injection_ip = simulator.getCPU(0).getInstructionPointer();
|
||||
result->set_iter_before_fi(count_loop_iter_before);
|
||||
log << "fault injected @ ip " << injection_ip
|
||||
<< " 0x" << hex << ((int)data) << " -> 0x" << ((int)newdata) << endl;
|
||||
|
||||
Reference in New Issue
Block a user