//\r
// Get the first character from the format string\r
//\r
- FormatCharacter = (*Format | (*(Format + 1) << 8)) & FormatMask;\r
+ FormatCharacter = (*Format | (*(Format - 1) << 8)) & FormatMask;\r
\r
//\r
// Loop until the end of the format string is reached or the output buffer is full\r
0, \r
0,\r
"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",\r
- TmpGuid->Data1, \r
- TmpGuid->Data2,\r
- TmpGuid->Data3,\r
- TmpGuid->Data4[0],\r
- TmpGuid->Data4[1],\r
- TmpGuid->Data4[2],\r
- TmpGuid->Data4[3],\r
- TmpGuid->Data4[4],\r
- TmpGuid->Data4[5],\r
- TmpGuid->Data4[6],\r
- TmpGuid->Data4[7]\r
+ (UINTN) TmpGuid->Data1,\r
+ (UINTN) TmpGuid->Data2,\r
+ (UINTN) TmpGuid->Data3,\r
+ (UINTN) TmpGuid->Data4[0],\r
+ (UINTN) TmpGuid->Data4[1],\r
+ (UINTN) TmpGuid->Data4[2],\r
+ (UINTN) TmpGuid->Data4[3],\r
+ (UINTN) TmpGuid->Data4[4],\r
+ (UINTN) TmpGuid->Data4[5],\r
+ (UINTN) TmpGuid->Data4[6],\r
+ (UINTN) TmpGuid->Data4[7]\r
);\r
ArgumentString = ValueBuffer;\r
}\r
0,\r
0,\r
"%02d/%02d/%04d %02d:%02d",\r
- TmpTime->Month,\r
- TmpTime->Day,\r
- TmpTime->Year,\r
- TmpTime->Hour,\r
- TmpTime->Minute\r
+ (UINTN) TmpTime->Month,\r
+ (UINTN) TmpTime->Day,\r
+ (UINTN) TmpTime->Year,\r
+ (UINTN) TmpTime->Hour,\r
+ (UINTN) TmpTime->Minute\r
);\r
ArgumentString = ValueBuffer;\r
}\r