# HG changeset patch # User asl # Date 1123102071 0 # Node ID bc6ddf9b93b5a625d0ddb36c46891e80236166e3 # Parent f1b03c38f9550bf8ca1634659e6bb58ae0e4d55f * src/blib.c: made the types consistent to fix compiler warnings. diff --git a/packages/services/blib/current/ChangeLog b/packages/services/blib/current/ChangeLog --- a/packages/services/blib/current/ChangeLog +++ b/packages/services/blib/current/ChangeLog @@ -1,3 +1,7 @@ +2005-07-30 Andrew Lunn + + * src/blib.c: made the types consistent to fix compiler warnings. + 2004-08-09 Savin Zlobec * inc/blib.h: diff --git a/packages/services/blib/current/src/blib.c b/packages/services/blib/current/src/blib.c --- a/packages/services/blib/current/src/blib.c +++ b/packages/services/blib/current/src/blib.c @@ -258,7 +258,7 @@ blib_sync_block(cyg_blib_t *bl, blib_blo if (block->modified) { - int len = 1; + cyg_uint32 len = 1; D(("blib writting block=%d\n", block->num)); @@ -302,7 +302,7 @@ blib_get_block(cyg_blib_t *bl, { blib_block_t *block = NULL; int ret = ENOERR; - int len; + cyg_uint32 len; D(("blib get block=%d\n", num)); @@ -543,7 +543,7 @@ cyg_blib_read(cyg_blib_t *bl, while (size > 0) { - int csize; + cyg_uint32 csize; if ((size + pos) > bl->block_size) csize = bl->block_size - pos; @@ -589,7 +589,7 @@ cyg_blib_write(cyg_blib_t *bl, while (size > 0) { - int csize; + cyg_uint32 csize; if ((size + pos) > bl->block_size) csize = bl->block_size - pos;