mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
nuttx/sched/mqueue: Change 'int prio' to 'unsigned int prio'. According to open group specification, priority field in mq_* functions should have unsigned type: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/mqueue.h.html
This commit is contained in:
committed by
Gregory Nutt
parent
41a4a40879
commit
626afb015b
@@ -424,7 +424,7 @@ static void *null_workerthread(pthread_addr_t pvarg)
|
||||
FAR struct null_dev_s *priv = (struct null_dev_s *) pvarg;
|
||||
struct audio_msg_s msg;
|
||||
int msglen;
|
||||
int prio;
|
||||
unsigned int prio;
|
||||
|
||||
audinfo("Entry\n");
|
||||
|
||||
|
||||
@@ -1560,7 +1560,7 @@ static void *cs43l22_workerthread(pthread_addr_t pvarg)
|
||||
struct audio_msg_s msg;
|
||||
FAR struct ap_buffer_s *apb;
|
||||
int msglen;
|
||||
int prio;
|
||||
unsigned int prio;
|
||||
|
||||
audinfo("Entry\n");
|
||||
|
||||
|
||||
@@ -1248,7 +1248,7 @@ static void *vs1053_workerthread(pthread_addr_t pvarg)
|
||||
struct audio_msg_s msg;
|
||||
FAR struct ap_buffer_s *apb;
|
||||
int size;
|
||||
int prio;
|
||||
unsigned int prio;
|
||||
#ifndef CONFIG_AUDIO_EXCLUDE_STOP
|
||||
uint16_t reg;
|
||||
#endif
|
||||
|
||||
@@ -1151,7 +1151,7 @@ static void *wm8776_workerthread(pthread_addr_t pvarg)
|
||||
struct audio_msg_s msg;
|
||||
FAR struct ap_buffer_s *apb;
|
||||
int msglen;
|
||||
int prio;
|
||||
unsigned int prio;
|
||||
struct mq_attr attr;
|
||||
|
||||
audinfo("Entry\n");
|
||||
|
||||
@@ -2006,7 +2006,7 @@ static void *wm8904_workerthread(pthread_addr_t pvarg)
|
||||
struct audio_msg_s msg;
|
||||
FAR struct ap_buffer_s *apb;
|
||||
int msglen;
|
||||
int prio;
|
||||
unsigned int prio;
|
||||
|
||||
audinfo("Entry\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user