mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-07 13:37:21 +00: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:
parent
c8106558d1
commit
53d8cd78c0
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue