X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=lib%2Finflib%2Finfhostgen.c;h=ff5e15d7d364168ec834be20d224213174553e06;hp=ee1b52a571ca9bdae420a02134d9787aaaed8334;hb=83d81567a24dd0dd86df447324152eeb1f34de56;hpb=c0fa485960859ce910f79f4994b7cc2719982c29 diff --git a/lib/inflib/infhostgen.c b/lib/inflib/infhostgen.c index ee1b52a571c..ff5e15d7d36 100644 --- a/lib/inflib/infhostgen.c +++ b/lib/inflib/infhostgen.c @@ -107,7 +107,7 @@ InfHostOpenFile(PHINF InfHandle, return -1; } - FileLength = ftell(File); + FileLength = (ULONG)ftell(File); if ((ULONG) -1 == FileLength) { DPRINT1("ftell() failed (errno %d)\n", errno);