[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-i386: fix build with -Werror
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] [PATCH] target-i386: fix build with -Werror |
Date: |
Fri, 29 Jun 2012 21:35:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
Am 29.06.2012 08:41, schrieb Dunrong Huang:
Commit c4baa0503d9623f1ce891f525ccd140c598bc29a improved SSE table
type safety but raises compile error of incompatible pointer type. Fix
it by casting to correct function type Signed-off-by: Dunrong Huang
<address@hidden> --- target-i386/translate.c | 22
+++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-)
Adding type casts fixes the compilation, but also removes the
type safety again. I'll send a patch which works without type
casts in about 1/2 an hour.
Regards,
Stefan W.