diff --git a/libbrux/ChangeLog b/libbrux/ChangeLog index e483cbc7..338e1afd 100644 --- a/libbrux/ChangeLog +++ b/libbrux/ChangeLog @@ -1,3 +1,7 @@ +2003-06-10 Marcel Telka + + * flash/cfi.c (cfi_detect): Changed types for some local variables. + 2003-06-09 Marcel Telka * cmd/cmd.c (cmd_get_number): Added variable initialization for %n conversion in sscanf() call. diff --git a/libbrux/flash/cfi.c b/libbrux/flash/cfi.c index d07a3202..4f68cfdb 100644 --- a/libbrux/flash/cfi.c +++ b/libbrux/flash/cfi.c @@ -60,8 +60,8 @@ cfi_array_free( cfi_array_t *cfi_array ) int cfi_detect( bus_t *bus, uint32_t adr, cfi_array_t **cfi_array ) { - int bw; /* bus width */ - int d; /* data offset */ + unsigned int bw; /* bus width */ + unsigned int d; /* data offset */ int ba; /* bus width address multiplier */ int ma; /* flash mode address multiplier */