summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-03 13:56:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-03 13:56:34 +0000
commit7b559c4170ec6e77c05830265b808fd2fac27371 (patch)
treeeda3ec1245c099d9a18014d3557eaa67cb99f843 /c
parent6a3732946a0f2fb09060a0ac5871a207e7805e3e (diff)
downloadrtems-7b559c4170ec6e77c05830265b808fd2fac27371.tar.bz2
2002-04-03 Alexander Kukuta <kam@oktet.ru>
* include/rtems/bdbuf.h: Address PR168 by changing bdbuf_buffer.avl.bal and bdbuf_buffer.avl.cache to signed char instead of char.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/libblock/ChangeLog5
-rw-r--r--c/src/exec/libblock/include/rtems/bdbuf.h4
-rw-r--r--c/src/libblock/ChangeLog5
-rw-r--r--c/src/libblock/include/rtems/bdbuf.h4
4 files changed, 14 insertions, 4 deletions
diff --git a/c/src/exec/libblock/ChangeLog b/c/src/exec/libblock/ChangeLog
index 5b8044fdbb..f70a4851b2 100644
--- a/c/src/exec/libblock/ChangeLog
+++ b/c/src/exec/libblock/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-03 Alexander Kukuta <kam@oktet.ru>
+
+ * include/rtems/bdbuf.h: Address PR168 by changing bdbuf_buffer.avl.bal
+ and bdbuf_buffer.avl.cache to signed char instead of char.
+
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
diff --git a/c/src/exec/libblock/include/rtems/bdbuf.h b/c/src/exec/libblock/include/rtems/bdbuf.h
index 991333fc78..4405e17e34 100644
--- a/c/src/exec/libblock/include/rtems/bdbuf.h
+++ b/c/src/exec/libblock/include/rtems/bdbuf.h
@@ -38,12 +38,12 @@ typedef struct bdbuf_buffer {
Chain_Node link; /* Link in the lru, mod or free chains */
struct bdbuf_avl_node {
- char cache; /* Cache */
+ signed char cache; /* Cache */
struct bdbuf_buffer* left; /* Left Child */
struct bdbuf_buffer* right; /* Right Child */
- char bal; /* The balance of the sub-tree */
+ signed char bal; /* The balance of the sub-tree */
} avl;
dev_t dev; /* device number */
diff --git a/c/src/libblock/ChangeLog b/c/src/libblock/ChangeLog
index 5b8044fdbb..f70a4851b2 100644
--- a/c/src/libblock/ChangeLog
+++ b/c/src/libblock/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-03 Alexander Kukuta <kam@oktet.ru>
+
+ * include/rtems/bdbuf.h: Address PR168 by changing bdbuf_buffer.avl.bal
+ and bdbuf_buffer.avl.cache to signed char instead of char.
+
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
diff --git a/c/src/libblock/include/rtems/bdbuf.h b/c/src/libblock/include/rtems/bdbuf.h
index 991333fc78..4405e17e34 100644
--- a/c/src/libblock/include/rtems/bdbuf.h
+++ b/c/src/libblock/include/rtems/bdbuf.h
@@ -38,12 +38,12 @@ typedef struct bdbuf_buffer {
Chain_Node link; /* Link in the lru, mod or free chains */
struct bdbuf_avl_node {
- char cache; /* Cache */
+ signed char cache; /* Cache */
struct bdbuf_buffer* left; /* Left Child */
struct bdbuf_buffer* right; /* Right Child */
- char bal; /* The balance of the sub-tree */
+ signed char bal; /* The balance of the sub-tree */
} avl;
dev_t dev; /* device number */