From 6af3bafa97a4bf4b02a8082a737ab5cddbc89cb8 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Tue, 10 Jun 2003 09:51:41 +0000 Subject: [PATCH] 2003-06-10 Marcel Telka * brux/bus.h (bus_t): Changed return type from int to unsigned int for width(). git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@474 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- include/ChangeLog | 4 ++++ include/brux/bus.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/ChangeLog b/include/ChangeLog index a90dbdf3..3fc52be4 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-06-10 Marcel Telka + + * brux/bus.h (bus_t): Changed return type from int to unsigned int for width(). + 2003-06-03 Marcel Telka * brux/cmd.h (cmds): Added external variable declaration. diff --git a/include/brux/bus.h b/include/brux/bus.h index 38fd33d0..b1a31a10 100644 --- a/include/brux/bus.h +++ b/include/brux/bus.h @@ -42,7 +42,7 @@ typedef struct bus bus_t; struct bus { void *params; void (*prepare)( bus_t *bus ); - int (*width)( bus_t *bus, uint32_t adr ); + unsigned int (*width)( bus_t *bus, uint32_t adr ); void (*read_start)( bus_t *bus, uint32_t adr ); uint32_t (*read_next)( bus_t *bus, uint32_t adr ); uint32_t (*read_end)( bus_t *bus );