Msg_words are 16 bit, adjust bit mask.

This commit is contained in:
Alexander Boettcher 2012-06-20 14:08:07 +02:00 committed by Norman Feske
parent 67864d35f1
commit 0c2adf7ddd
1 changed files with 1 additions and 1 deletions

View File

@ -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