\r
--*/\r
{\r
- UINT32 Val;\r
+ unsigned Val;\r
\r
SkipWhiteSpace (&mGlobals.SourceFile);\r
if (EndOfFile (&mGlobals.SourceFile)) {\r
\r
mGlobals.SourceFile.FileBufferPtr += 2;\r
sscanf (mGlobals.SourceFile.FileBufferPtr, "%x", &Val);\r
- *Value = Val;\r
+ *Value = (UINT32) Val;\r
while (isxdigit (mGlobals.SourceFile.FileBufferPtr[0])) {\r
mGlobals.SourceFile.FileBufferPtr++;\r
}\r
// depth.\r
//\r
if (mGlobals.VerboseFile) {\r
- fprintf (stdout, "%*cProcessing file '%s'\n", (INT32)NestDepth * 2, ' ', SourceFile->FileName);\r
+ fprintf (stdout, "%*cProcessing file '%s'\n", (int)NestDepth * 2, ' ', SourceFile->FileName);\r
fprintf (stdout, "Parent source file = '%s'\n", ParentSourceFile->FileName);\r
}\r
\r
// Make sure we didn't exceed our maximum nesting depth\r
//\r
if (NestDepth > MAX_NEST_DEPTH) {\r
- Error (NULL, 0, 3001, "Not Supported", "%s exceeeds max nesting depth (%d)", SourceFile->FileName, NestDepth);\r
+ Error (NULL, 0, 3001, "Not Supported", "%s exceeeds max nesting depth (%u)", SourceFile->FileName, (unsigned) NestDepth);\r
Status = STATUS_ERROR;\r
goto Finish;\r
}\r
fseek (SourceFile->Fptr, 0, SEEK_END);\r
SourceFile->FileSize = ftell (SourceFile->Fptr);\r
if (mGlobals.VerboseFile) {\r
- printf ("FileSize = %d (0x%X)\n", (INT32)SourceFile->FileSize, (UINT32)SourceFile->FileSize);\r
+ printf ("FileSize = %u (0x%X)\n", (unsigned) SourceFile->FileSize, (unsigned) SourceFile->FileSize);\r
}\r
\r
fseek (SourceFile->Fptr, 0, SEEK_SET);\r
}\r
\r
printf ("'\n");\r
- printf ("FileSize = %d (0x%X)\n", (INT32)SourceFile->FileSize, (UINT32)SourceFile->FileSize);\r
+ printf ("FileSize = %u (0x%X)\n", (unsigned)SourceFile->FileSize, (unsigned)SourceFile->FileSize);\r
RewindFile (SourceFile);\r
}\r
}\r
\r
--*/\r
{\r
- UINT32 Value32;\r
+ unsigned Value32;\r
UINT32 Index;\r
FILE_POSITION FPos;\r
CHAR8 TempString[20];\r