diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-02 23:19:37 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-17 23:50:16 +0200 |
commit | 9353948632d7f9b6a4732fedf2945a5c1e49f29b (patch) | |
tree | d3d0a3eeafcbe15cce6907400c31dfe154b8862f | |
parent | 24af9b2778c65070409adcb97d8b831a3a8e65aa (diff) |
2002-06-02 Roland McGrath <roland@frob.com>
* oskit/ds_routines.c (DEV_PTR_HASH): uintptr_t -> natural_t
-rw-r--r-- | oskit/ds_routines.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oskit/ds_routines.c b/oskit/ds_routines.c index 5643f652..41968c9f 100644 --- a/oskit/ds_routines.c +++ b/oskit/ds_routines.c @@ -69,7 +69,7 @@ decl_simple_lock_data(, io_done_list_lock) open device ports (device_t). */ #define NDEVHASH 7 -#define DEV_PTR_HASH(com) ((uintptr_t) (com) % NDEVHASH) +#define DEV_PTR_HASH(com) ((natural_t) (com) % NDEVHASH) queue_head_t dev_hash_table[NDEVHASH]; /* |