rem: while ((T = TaskControl.XFormTask) == 0)
add: while (TaskControl.XFormTask == 0)
context: int xform_PLUT_task(void* blah){	COLORMAPPTR CurMapPtr;	TASK T;	while ((T = TaskControl.XFormTask) == 0)		TaskSwitch ();	TaskControl.XFormTask = 0;	CurMapPtr = TaskControl.CMapPtr;	{		SIZE TDelta, TTotal;		DWORD CurTime;		TTotal = TaskControl.Ticks;		TaskControl.CMapPtr = 0;		CurTime = GetTimeCounter ();		do		{//#define NUMBER_OF_PLUTVALS 32//#define NUMBER_OF_PLUT_UINT32s (NUMBER_OF_PLUTVALS >> 1)			BYTE i;			DWORD StartTime;			DWORD *pCurCMap;			COLORMAPPTR ColorMapPtr;			extern DWORD *_varPLUTs;			StartTime = CurTime;			CurTime = SleepTask (GetTimeCounter () + 2);			if (XFormFlush || (TDelta = (SIZE)(CurTime - StartTime)) > TTotal)				TDelta = TTotal;			ColorMapPtr = CurMapPtr;			pCurCMap = (DWORD *)((BYTE *)_varPLUTs + (*ColorMapPtr * PLUT_BYTE_SIZE));			ColorMapPtr += 2;			i = NUMBER_OF_PLUT_UINT32s;if (_varPLUTs)			do			{				SIZE c0, c1;				DWORD v0, v1, val;				v0 = *pCurCMap;				v1 = MAKE_DWORD (						MAKE_WORD (ColorMapPtr[3], ColorMapPtr[2]),						MAKE_WORD (ColorMapPtr[1], ColorMapPtr[0])						);				ColorMapPtr += sizeof (DWORD);				c0 = (v0 >> (10 + 16)) & 0x1F;				c1 = (v1 >> (10 + 16)) & 0x1F;				c0 += ((c1 - c0) * TDelta) / TTotal;				val = (c0 & 0x1F) | (1 << 5);								c0 = (v0 >> (5 + 16)) & 0x1F;				c1 = (v1 >> (5 + 16)) & 0x1F;				c0 += ((c1 - c0) * TDelta) / TTotal;				val = (val << 5) | (c0 & 0x1F);				c0 = (v0 >> (0 + 16)) & 0x1F;				c1 = (v1 >> (0 + 16)) & 0x1F;				c0 += ((c1 - c0) * TDelta) / TTotal;				val = (val << 5) | (c0 & 0x1F);				c0 = (v0 >> 10) & 0x1F;				c1 = (v1 >> 10) & 0x1F;				c0 += ((c1 - c0) * TDelta) / TTotal;				val = (val << (5 + 1)) | (c0 & 0x1F) | (1 << 5);								c0 = (v0 >> 5) & 0x1F;				c1 = (v1 >> 5) & 0x1F;				c0 += ((c1 - c0) * TDelta) / TTotal;				val = (val << 5) | (c0 & 0x1F);				c0 = (v0 >> 0) & 0x1F;				c1 = (v1 >> 0) & 0x1F;				c0 += ((c1 - c0) * TDelta) / TTotal;				val = (val << 5) | (c0 & 0x1F);				*pCurCMap++ = val;			} while (--i);			ColorChange = TRUE;		} while (TTotal -= TDelta);	}	--NumXFormTasks;	DeleteTask (T);	(void) blah;  /* Satisfying compiler (unused parameter) */	return(0);}