CHAR16 *CurrentLocator;\r
\r
for (CurrentLocator = CmdLine ; CurrentLocator != NULL ; ) {\r
- FirstQuote = FindFirstCharacter(CurrentLocator, L"\"", L'^');\r
- FirstPercent = FindFirstCharacter(CurrentLocator, L"%", L'^');\r
- SecondPercent = FirstPercent!=NULL?FindFirstCharacter(FirstPercent+1, L"%", L'^'):NULL;\r
+ FirstQuote = (CHAR16*)FindFirstCharacter(CurrentLocator, L"\"", L'^');\r
+ FirstPercent = (CHAR16*)FindFirstCharacter(CurrentLocator, L"%", L'^');\r
+ SecondPercent = FirstPercent!=NULL?(CHAR16*)FindFirstCharacter(FirstPercent+1, L"%", L'^'):NULL;\r
if (FirstPercent == NULL || SecondPercent == NULL) {\r
//\r
// If we ever dont have 2 % we are done.\r
}\r
\r
if (FirstQuote!= NULL && FirstQuote < FirstPercent) {\r
- SecondQuote = FindFirstCharacter(FirstQuote+1, L"\"", L'^');\r
+ SecondQuote = (CHAR16*)FindFirstCharacter(FirstQuote+1, L"\"", L'^');\r
//\r
// Quote is first found\r
//\r