]> git.sur5r.net Git - cc65/blobdiff - src/ar65/objfile.c
Allow for warning-free build of ar65 with MS VC on warning level 3.
[cc65] / 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 */