diff options
Diffstat (limited to 'src/vpp-api/vapi/vapi_common.h')
-rw-r--r-- | src/vpp-api/vapi/vapi_common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vpp-api/vapi/vapi_common.h b/src/vpp-api/vapi/vapi_common.h index ce64469d02c..764a0b71f50 100644 --- a/src/vpp-api/vapi/vapi_common.h +++ b/src/vpp-api/vapi/vapi_common.h @@ -52,7 +52,9 @@ typedef enum VAPI_WAIT_FOR_READ_WRITE, /**< wait until a read or write can be done */ } vapi_wait_mode_e; -typedef int vapi_msg_id_t; +typedef unsigned int vapi_msg_id_t; + +#define INVALID_MSG_ID ((vapi_msg_id_t)(~0)) #ifdef __cplusplus } |