[Qemu-devel] [PATCH 02/18] TCG: fix negative frame offset calculations

2011-06-19 Thread Blue Swirl
size_t is unsigned, so the frame offset calculations can be incorrect for negative offsets. Signed-off-by: Blue Swirl --- tcg/tcg.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index debf47f..d8bf721 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.

[Qemu-devel] [PATCH 02/18] TCG: fix negative frame offset calculations

2011-05-28 Thread Blue Swirl
size_t is unsigned, so the frame offset calculations can be incorrect for negative offsets. Signed-off-by: Blue Swirl --- tcg/tcg.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index fad92f9..b31d80d 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.