From: Oliver Schmidt Date: Sun, 7 Apr 2013 21:34:16 +0000 (+0200) Subject: Allow for warning-free build of ar65 with MS VC on warning level 3. X-Git-Tag: V2.14~70 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=662af3d67cc872ac16b6b55f7d48d83e9220f8fe;hp=be83b87463c0055fb9d2a2fdcf20e775c841bea6;p=cc65 Allow for warning-free build of ar65 with MS VC on warning level 3. --- diff --git a/src/ar65/objfile.c b/src/ar65/objfile.c index 7d349c725..b4560bee8 100644 --- a/src/ar65/objfile.c +++ b/src/ar65/objfile.c @@ -278,7 +278,7 @@ void ObjAdd (const char* Name) /* Initialize the object module data structure */ O->Name = xstrdup (Module); O->Flags = OBJ_HAVEDATA; - O->MTime = StatBuf.st_mtime; + O->MTime = (unsigned long) StatBuf.st_mtime; O->Start = 0; /* Determine the file size. Note: Race condition here */