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:22:48 -06:00 committed by Gregory Nutt
parent c8106558d1
commit 53d8cd78c0
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;