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:
parent
c8106558d1
commit
53d8cd78c0
@ -781,10 +781,10 @@ static void *nxplayer_playthread(pthread_addr_t pvarg)
|
||||
#else
|
||||
FAR struct ap_buffer_s *pBuffers[CONFIG_AUDIO_NUM_BUFFERS];
|
||||
#endif
|
||||
unsigned int prio;
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
int outstanding = 0;
|
||||
#endif
|
||||
int prio;
|
||||
int x;
|
||||
int ret;
|
||||
|
||||
|
@ -259,10 +259,10 @@ static void *nxrecorder_recordthread(pthread_addr_t pvarg)
|
||||
#else
|
||||
FAR struct ap_buffer_s *pBuffers[CONFIG_AUDIO_NUM_BUFFERS];
|
||||
#endif
|
||||
unsigned int prio;
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
int outstanding = 0;
|
||||
#endif
|
||||
int prio;
|
||||
int x;
|
||||
int ret;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user