Review Board 2.0.15


gcc: Fix warnings for gcc 4.7 and clang 3.1

Review Request #1279 - Created June 27, 2012 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9074:ab04a589d80c
---------------------------
gcc: Fix warnings for gcc 4.7 and clang 3.1

This patch fixes two warnings, one related to a narrowing conversion
(int to MachInst), and one due to the cast operator for arguments and
a mismatch in const-ness (const void* and void*).
util/regress all passing (disregarding t1000 and eio)

compiled with gcc 4.3 - 4.7 and clang 2.9 - 3.1
Review request changed
Updated (July 5, 2012, 6:44 a.m.)

Status: Closed (submitted)