Prevent negative priorities on wrong error codes (fixes bug #135).

This commit is contained in:
Vreixo Formoso 2008-08-20 00:05:27 +02:00
parent 690e02a461
commit 7a87f47542
2 changed files with 74 additions and 74 deletions

View File

@ -1,4 +1,4 @@
#Fri Dec 28 21:07:56 CET 2007
#Tue Aug 19 23:58:44 CEST 2008
eclipse.preferences.version=1
indexer/filesToParseUpFront=
indexer/indexAllFiles=true

View File

@ -40,7 +40,7 @@
* bits 15-0 -> Error code
*/
#define ISO_ERR_SEV(e) (e & 0x7F000000)
#define ISO_ERR_PRIO(e) ((e & 0x00F00000) << 8)
#define ISO_ERR_PRIO(e) ((e & 0x00700000) << 8)
#define ISO_ERR_CODE(e) ((e & 0x0000FFFF) | 0x00030000)
int iso_message_id = LIBISO_MSGS_ORIGIN_IMAGE_BASE;