Msg_words are 16 bit, adjust bit mask.
This commit is contained in:
parent
67864d35f1
commit
0c2adf7ddd
|
@ -396,7 +396,7 @@ namespace Nova {
|
|||
/**
|
||||
* Return current number of message word in UTCB
|
||||
*/
|
||||
unsigned msg_words() { return items & 0xff; }
|
||||
unsigned msg_words() { return items & 0xffffU; }
|
||||
|
||||
/**
|
||||
* Append message-transfer item to message buffer
|
||||
|
|
Loading…
Reference in New Issue