Author: tkreuzer
Date: Thu Jan 27 13:45:06 2011
New Revision: 50513
URL:
http://svn.reactos.org/svn/reactos?rev=50513&view=rev
Log:
[CRT]
Fix some warnings
Modified:
branches/cmake-bringup/include/crt/sys/stat.h
Modified: branches/cmake-bringup/include/crt/sys/stat.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/crt/sys/s…
==============================================================================
--- branches/cmake-bringup/include/crt/sys/stat.h [iso-8859-1] (original)
+++ branches/cmake-bringup/include/crt/sys/stat.h [iso-8859-1] Thu Jan 27 13:45:06 2011
@@ -187,9 +187,9 @@
_Stat->st_gid = _Stat64.st_gid;
_Stat->st_rdev = _Stat64.st_rdev;
_Stat->st_size = _Stat64.st_size;
- _Stat->st_atime = _Stat64.st_atime;
- _Stat->st_mtime = _Stat64.st_mtime;
- _Stat->st_ctime = _Stat64.st_ctime;
+ _Stat->st_atime = (__time32_t)_Stat64.st_atime;
+ _Stat->st_mtime = (__time32_t)_Stat64.st_mtime;
+ _Stat->st_ctime = (__time32_t)_Stat64.st_ctime;
return ret;
}
__CRT_INLINE int __cdecl _fstat32i64(int _FileDes, struct _stat32i64 *_Stat)
@@ -204,9 +204,9 @@
_Stat->st_gid = _Stat64.st_gid;
_Stat->st_rdev = _Stat64.st_rdev;
_Stat->st_size = _Stat64.st_size;
- _Stat->st_atime = _Stat64.st_atime;
- _Stat->st_mtime = _Stat64.st_mtime;
- _Stat->st_ctime = _Stat64.st_ctime;
+ _Stat->st_atime = (__time32_t)_Stat64.st_atime;
+ _Stat->st_mtime = (__time32_t)_Stat64.st_mtime;
+ _Stat->st_ctime = (__time32_t)_Stat64.st_ctime;
return ret;
}
#endif /* _USE_32BIT_TIME_T */