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