[Qemu-devel] [PATCH 04/15] linux-user: improve flatload error checking

2010-09-10 Thread Blue Swirl
Because of the use of unsigned type, possible errors during load were ignored. Fix by using a signed type. This also avoids a warning with GCC flag -Wtype-limits. Signed-off-by: Blue Swirl --- linux-user/flatload.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/linu

[Qemu-devel] [PATCH 04/15] linux-user: improve flatload error checking

2010-09-05 Thread Blue Swirl
Because of the use of unsigned type, possible errors during load were ignored. Fix by using a signed type. This also fixes a warning with GCC flag -Wtype-limits. Signed-off-by: Blue Swirl --- linux-user/flatload.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/linux