]> git.sur5r.net Git - cc65/commitdiff
Allow for warning-free build of ar65 with MS VC on warning level 3.
authorOliver Schmidt <ol.sc@web.de>
Sun, 7 Apr 2013 21:34:16 +0000 (23:34 +0200)
committerOliver Schmidt <ol.sc@web.de>
Sun, 7 Apr 2013 22:11:15 +0000 (00:11 +0200)
src/ar65/objfile.c

index 7d349c7252b27aea7d73978c0239619f6c3fa975..b4560bee8d2b938f7c86c1a50ccb8d9baa040023 100644 (file)
@@ -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 */