Don't take address of boolean flag, use flag itself instead.
authorBerkus Decker <berkus@madfire.net>
Tue, 22 Sep 2015 16:02:52 +0000 (19:02 +0300)
committerBerkus Decker <berkus@madfire.net>
Tue, 22 Sep 2015 16:04:21 +0000 (19:04 +0300)
RtAudio.cpp

index 8755b55caba4618a6ff17d41c19f79b7741c884a..3875761fab5a009307b2f8b3bfd33e11df6f7cbd 100755 (executable)
@@ -8070,7 +8070,7 @@ static void *alsaCallbackHandler( void *ptr )
   bool *isRunning = &info->isRunning;\r
 \r
 #ifdef SCHED_RR // Undefined with some OSes (eg: NetBSD 1.6.x with GNU Pthread)\r
-  if ( &info->doRealtime ) {\r
+  if ( info->doRealtime ) {\r
     pthread_t tID = pthread_self();     // ID of this thread\r
     sched_param prio = { info->priority }; // scheduling priority of thread\r
     pthread_setschedparam( tID, SCHED_RR, &prio );\r