tcg/mips compilation fix

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJXBBaWAAoJEK0ScMxN0CebyBsIAJsOlVHjaFhO8HO/SY9aajBZ
 4In8jKIkGQULT+iuJ/km/An7J4LH2FX2eKbMXu4izVVL4WenLmlz7opcv3rMeLkJ
 H6GrAVwlHuvfD3pPpduJnk2k6zk5CH1XT9DqUm5W6Y/nbz8GQxbtGk1d6u2VcAQW
 qwkDHnbUOfDAsheC7DuglbDEEOQaSgYJVo27b682U4PJhGoAjOJZhuckoguYWugX
 9iSnjtbxumUw+O83figXNfrkWgYsryT9Vcfe2v28+n4pZ+mFyBavGopvZ1Mc2Qsl
 TX0x4bETnZDMX8rJ53SSZC5sBzOvEvvgUYgM2NJZY+N+f8dwiwpC6q/uMgfSI7I=
 =jorJ
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20160405' into staging

tcg/mips compilation fix

# gpg: Signature made Tue 05 Apr 2016 20:48:38 BST using RSA key ID 4DD0279B
# gpg: Good signature from "Richard Henderson <rth7680@gmail.com>"
# gpg:                 aka "Richard Henderson <rth@redhat.com>"
# gpg:                 aka "Richard Henderson <rth@twiddle.net>"

* remotes/rth/tags/pull-tcg-20160405:
  tcg/mips: Fix type of tcg_target_reg_alloc_order[]

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Peter Maydell 2016-04-05 21:24:49 +01:00
commit 627b4e23cc

View File

@ -76,7 +76,7 @@ static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = {
#define TCG_TMP1 TCG_REG_T9
/* check if we really need so many registers :P */
static const TCGReg tcg_target_reg_alloc_order[] = {
static const int tcg_target_reg_alloc_order[] = {
/* Call saved registers. */
TCG_REG_S0,
TCG_REG_S1,