From 662af3d67cc872ac16b6b55f7d48d83e9220f8fe Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Sun, 7 Apr 2013 23:34:16 +0200 Subject: [PATCH] Allow for warning-free build of ar65 with MS VC on warning level 3. --- src/ar65/objfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5