File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ void TaskManager::setInterruptCallback(InterruptFn handler) {
449449}
450450
451451char * TaskManager::checkAvailableSlots (char * data, size_t dataSize) const {
452- auto maxLen = min (taskid_t (dataSize - 1 ), taskBlocks[numberOfBlocks - 1 ]->lastSlot ());
452+ auto maxLen = internal_min (taskid_t (dataSize - 1 ), taskBlocks[numberOfBlocks - 1 ]->lastSlot ());
453453 size_t position = 0 ;
454454
455455 for (taskid_t i=0 ; i<numberOfBlocks;i++) {
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ typedef uint32_t sched_t;
411411#endif // GCC>=5 and !TM_ALLOW_CAPTURED_LAMBDA
412412
413413#ifndef internal_min
414- #define internal_min (a, b ) ((a) > (b) ? (b) : (a));
414+ #define internal_min (a, b ) ((a) > (b) ? (b) : (a))
415415#endif // internal_min
416416
417417#ifndef internal_max
You can’t perform that action at this time.
0 commit comments