commit | 73f5e3132a18654caa9705e3e8c7688f615f8c7d | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Sat Dec 10 16:35:31 2011 +0000 |
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Wed Dec 14 11:13:03 2011 +0000 |
tree | d4b21d6aaa926d5aec99b66fbf35912e8ad3be8b | |
parent | e7d81004e486b0e80a674d164d8aec0e83fa812f [diff] |
tcg: make tcg_const_ptr actually accept a pointer argument 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. Acked-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>