We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cf11e2 commit 09268f4Copy full SHA for 09268f4
qkernel.c
@@ -724,7 +724,7 @@ static qBool_t qOS_TaskEntryOrderPreserver( qList_CompareHandle_t h )
724
const qTask_t *t1, *t2;
725
/*cstat -MISRAC2012-Rule-11.5 -CERT-EXP36-C_b*/
726
t1 = (const qTask_t*)h->n1;
727
- t2 = (const qTask_t*)h->n1;
+ t2 = (const qTask_t*)h->n2;
728
/*cstat +MISRAC2012-Rule-11.5 +CERT-EXP36-C_b*/
729
return (qBool_t)( t1->qPrivate.entry > t2->qPrivate.entry );
730
}
0 commit comments