mq_maxmsg and mq_msgsize are defined to be of type long in POSIX standard. So use long for variables that hold its value in mq_open(). Signed-off-by: Niranjhana N <niranjhana.n@intel.com>