From 987e1db26beb68526e07740a60c998dd3c485bdd Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Tue, 10 Jun 2003 09:59:25 +0000 Subject: [PATCH] 2003-06-10 Marcel Telka * flash/cfi.c (cfi_detect): Changed types for some local variables. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@476 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- libbrux/ChangeLog | 4 ++++ libbrux/flash/cfi.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 */