2002-12-02 Joel Sherrill <joel@OARcorp.com>

* src/bdbuf.c: Added cast to remove warning.
This commit is contained in:
Joel Sherrill
2002-12-02 19:11:40 +00:00
parent aed317ab9b
commit 25f37e8618
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2002-12-02 Joel Sherrill <joel@OARcorp.com>
* src/bdbuf.c: Added cast to remove warning.
2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix package name.

View File

@@ -19,7 +19,7 @@
#include "rtems/bdbuf.h"
/* Fatal errors: */
#define BLKDEV_FATAL_ERROR(n) (('B' << 24) | ((n) & 0x00FFFFFF))
#define BLKDEV_FATAL_ERROR(n) (((unsigned32)'B' << 24) | ((unsigned32)(n) & (unsigned32)0x00FFFFFF))
#define BLKDEV_FATAL_BDBUF_CONSISTENCY BLKDEV_FATAL_ERROR(1)
#define BLKDEV_FATAL_BDBUF_SWAPOUT BLKDEV_FATAL_ERROR(2)