diff --git a/reactos/tools/rsym.c b/reactos/tools/rsym.c index caf229e8941..cbe09b7bb15 100644 --- a/reactos/tools/rsym.c +++ b/reactos/tools/rsym.c @@ -610,7 +610,7 @@ CreateOutputFile(FILE *OutFile, void *InData, { RosSymOffset = CurrentSectionHeader->PointerToRawData + CurrentSectionHeader->SizeOfRawData; } - if (Section == InRelocSectionIndex) + if (Section == (ULONG)InRelocSectionIndex) { OutRelocSection = CurrentSectionHeader; }