diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-29 13:59:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-29 13:59:17 -0700 |
commit | 228905fbce620ab96c0b7d2f0efac60a95797f07 (patch) | |
tree | 28aba6d9ca34166744fd52d7b645ed990ac4a389 /compat/mingw.c | |
parent | Merge branch 'jc/em-dash-in-doc' (diff) | |
parent | compat/mingw.c: remove printf format warning (diff) | |
download | tgif-228905fbce620ab96c0b7d2f0efac60a95797f07.tar.xz |
Merge branch 'jk/war-on-sprintf'
* jk/war-on-sprintf:
compat/mingw.c: remove printf format warning
read_branches_file: plug a FILE* leak
Diffstat (limited to 'compat/mingw.c')
-rw-r--r-- | compat/mingw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/mingw.c b/compat/mingw.c index a168800ae0..90bdb1edde 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -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), |