Merge branch 'dt/fsck-verify-pack-error'
[gitweb.git] / compat / mingw.c
index a168800ae0d1a6ffe741dfda26dbe5133cc4c4fc..90bdb1edde15ccd39055c376f5d920c29af013c0 100644 (file)
@@ -2131,7 +2131,7 @@ void mingw_startup()
 
 int uname(struct utsname *buf)
 {
-       DWORD v = GetVersion();
+       unsigned v = (unsigned)GetVersion();
        memset(buf, 0, sizeof(*buf));
        xsnprintf(buf->sysname, sizeof(buf->sysname), "Windows");
        xsnprintf(buf->release, sizeof(buf->release),