Multiplying a uint8_t by an int results in an int, not an unsigned int;
make NSH_HDR_WORD_SIZE an unsigned constant so the multiplication is
uint8_t times unsigned int.
#define NSH_BASE_HDR_LEN 4
#define NSH_SERVICE_PATH_HDR_LEN 4
#define NSH_BASE_HDR_LEN 4
#define NSH_SERVICE_PATH_HDR_LEN 4
-#define NSH_HDR_WORD_SIZE 4
+#define NSH_HDR_WORD_SIZE 4U
/*
* NSH, draft-ietf-sfc-nsh-01 Network Service Header
/*
* NSH, draft-ietf-sfc-nsh-01 Network Service Header