IN INT64 Delay\r
)\r
{\r
- INT64 Ticks;\r
+ UINT64 Ticks;\r
\r
//\r
// The target timer count is calculated here\r
// Delay > 2^63 could not be handled by this function\r
// Timer wrap-arounds are handled correctly by this function\r
//\r
- while (Ticks - AsmReadItc () >= 0);\r
+ while (Ticks >= AsmReadItc());\r
}\r
\r
/**\r