diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc index d682b9769..6e490e05e 100644 --- a/src/arch/sparc/process.cc +++ b/src/arch/sparc/process.cc @@ -453,7 +453,7 @@ void Sparc32LiveProcess::flushWindows(ThreadContext *tc) //Do the stores IntReg sp = tc->readIntReg(StackPointerReg); for (int index = 16; index < 32; index++) { - IntReg regVal = tc->readIntReg(index); + uint32_t regVal = tc->readIntReg(index); regVal = htog(regVal); if (!tc->getMemPort()->tryWriteBlob( sp + (index - 16) * 4, (uint8_t *)®Val, 4)) {