Re: [PATCH 14/14] don't cast negative error codes to unsigned size_t

2014-02-07 Thread Juergen Beisert
On Friday 07 February 2014 09:48:56 Lucas Stach wrote: > The cast prevents us from doing proper error checking. > > Signed-off-by: Lucas Stach > --- > common/uimage.c | 6 +++--- > include/image.h | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/common/uimage.c b/common

[PATCH 14/14] don't cast negative error codes to unsigned size_t

2014-02-07 Thread Lucas Stach
The cast prevents us from doing proper error checking. Signed-off-by: Lucas Stach --- common/uimage.c | 6 +++--- include/image.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/uimage.c b/common/uimage.c index 7fbef86..4296359 100644 --- a/common/uimage.c +++ b/com