[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tcg: make tcg_const_ptr actually accept a point
Re: [Qemu-devel] [PATCH] tcg: make tcg_const_ptr actually accept a pointer argument
Wed, 14 Dec 2011 11:13:20 +0000
On Sat, Dec 10, 2011 at 04:35:31PM +0000, Peter Maydell wrote:
> Make tcg_const_ptr() include a cast so that you can pass it a
> pointer. This allows us to drop the casts we had in all the places
> that use this macro.
> Signed-off-by: Peter Maydell <address@hidden>
> Minor cleanup; I have a patchset cooking that wants to use
> tcg_const_ptr(), which is why I noticed this infelicity.
> tcg/tcg-op.h | 6 +++---
> tcg/tcg.h | 4 ++--
> 2 files changed, 5 insertions(+), 5 deletions(-)
Thanks, applied to the trivial patches -next tree: