« Previous | Next » 

Revision 3feaca9e

ID3feaca9e88ddc72b3a9d7388fd542d1c0a5c24fb

Added by Stefan Weil over 10 years ago

Fix conversions from pointer to tcg_target_long

tcg_gen_exit_tb takes a parameter of type tcg_target_long,
so the type casts of pointer to long should be replaced by
type casts of pointer to tcg_target_long.

These changes are needed for build environments where
sizeof(long) != sizeof(void *), especially for w64.

See 4b4a72e55660abf7efe85aca78762dcfea5519ad which fixed the
same issue for the other targets.

Cc: Alexander Graf <>
Cc: Guan Xuetao <>
Acked-by: Guan Xuetao<>
Acked-by: Alexander Graf <>
Signed-off-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences