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:
Michał Łyszczek
2019-02-15 19:18:55 -06:00
committed by Gregory Nutt
parent 41a4a40879
commit 626afb015b
16 changed files with 44 additions and 35 deletions
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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");