summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/include/rtems/diskdevs.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-21 16:17:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-21 16:17:35 +0000
commitcec5c069b08ce39fe17af5d0a0df278469f46c57 (patch)
tree2bf7a9b09cf83f4b11513c13298e66f7b2d0aede /cpukit/libblock/include/rtems/diskdevs.h
parent2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-cec5c069b08ce39fe17af5d0a0df278469f46c57.tar.bz2
2008-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h, libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c, libblock/src/ramdisk.c: Eliminate sign mismatch warnings.
Diffstat (limited to 'cpukit/libblock/include/rtems/diskdevs.h')
-rw-r--r--cpukit/libblock/include/rtems/diskdevs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libblock/include/rtems/diskdevs.h b/cpukit/libblock/include/rtems/diskdevs.h
index 3517ddede2..745fa55bb7 100644
--- a/cpukit/libblock/include/rtems/diskdevs.h
+++ b/cpukit/libblock/include/rtems/diskdevs.h
@@ -47,16 +47,16 @@ typedef struct rtems_disk_device {
char *name; /* Disk device name */
int uses; /* Use counter. Device couldn't be
removed if it is in use. */
- int start; /* Starting block number (0 for
+ uint32_t start; /* Starting block number (0 for
physical devices, block offset
on the related physical device
for logical device) */
- int size; /* Size of physical or logical disk
+ uint32_t size; /* Size of physical or logical disk
in disk blocks */
- int block_size; /* Size of device block (minimum
+ uint32_t block_size; /* Size of device block (minimum
transfer unit) in bytes
(must be power of 2) */
- int block_size_log2; /* log2 of block_size */
+ uint32_t block_size_log2; /* log2 of block_size */
rtems_bdpool_id pool; /* Buffer pool assigned to this
device */
rtems_block_device_ioctl ioctl; /* ioctl handler for this block