fix comparison warning on 32-bit architectures.
PATCH 1/1 fix comparison warning on 32-bit architectures.
Hi
This patch fixes a warning about comparison between signed and unsigned integer.
Signed-off-by Mikulas Patocka <[email protected]>
--- test/lib/brick-shelltest.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
test/lib/brick-shelltest.h +2 -1
@@ -713,7 +713,8 @@ struct KMsg : Source {void transform (char *buf,ssize_t *sz ) {char newbuf[ buffer_size ];struct tm time_info; -unsigned level, num, pos; +int pos; +unsigned level, num;unsigned long t;time_t tt;size_t len;