blist: Fix u_daddr_t for 32-bit targets

The daddr_t is defined in <sys/types.h> by Newlib as long.
This commit is contained in:
Sebastian Huber 2018-11-27 09:07:53 +01:00
parent e0b4edbdcc
commit 8d5fc9d52a

View File

@ -58,7 +58,11 @@
#ifndef _SYS_BLIST_H_
#define _SYS_BLIST_H_
#ifndef __rtems__
typedef uint64_t u_daddr_t; /* unsigned disk address */
#else /* __rtems__ */
typedef unsigned long u_daddr_t; /* unsigned disk address */
#endif /* __rtems__ */
/*
* note: currently use SWAPBLK_NONE as an absolute value rather then