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
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