From 619715afc785981d3c93b338a5f51bda3aa938c8 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 22 Oct 2012 05:59:18 +0000
Subject: [PATCH] fix compile

---
 Common/OS.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Common/OS.cpp b/Common/OS.cpp
index 049a54c920..853e9f4258 100644
--- a/Common/OS.cpp
+++ b/Common/OS.cpp
@@ -159,7 +159,7 @@ int StatFile(const std::string &fileName)
   // could get file modification time from buf
 #else
   struct _stat buf;
-  int ret _stat(fileName.c_str(), &buf);
+  int ret = _stat(fileName.c_str(), &buf);
 #endif
   return ret;
 }
-- 
GitLab