Commit e8945b85 authored by cremno's avatar cremno

dump.h: parenthesize negative errnos

parent 7a32c7b1
...@@ -29,13 +29,13 @@ mrb_irep *mrb_read_irep(mrb_state*, const uint8_t*); ...@@ -29,13 +29,13 @@ mrb_irep *mrb_read_irep(mrb_state*, const uint8_t*);
* unspecified issues like malloc failed. * unspecified issues like malloc failed.
*/ */
#define MRB_DUMP_OK 0 #define MRB_DUMP_OK 0
#define MRB_DUMP_GENERAL_FAILURE -1 #define MRB_DUMP_GENERAL_FAILURE (-1)
#define MRB_DUMP_WRITE_FAULT -2 #define MRB_DUMP_WRITE_FAULT (-2)
#define MRB_DUMP_READ_FAULT -3 #define MRB_DUMP_READ_FAULT (-3)
#define MRB_DUMP_CRC_ERROR -4 #define MRB_DUMP_CRC_ERROR (-4)
#define MRB_DUMP_INVALID_FILE_HEADER -5 #define MRB_DUMP_INVALID_FILE_HEADER (-5)
#define MRB_DUMP_INVALID_IREP -6 #define MRB_DUMP_INVALID_IREP (-6)
#define MRB_DUMP_INVALID_ARGUMENT -7 #define MRB_DUMP_INVALID_ARGUMENT (-7)
/* null symbol length */ /* null symbol length */
#define MRB_DUMP_NULL_SYM_LEN 0xFFFF #define MRB_DUMP_NULL_SYM_LEN 0xFFFF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment