Merge branch 'jk/war-on-sprintf'
* jk/war-on-sprintf: compat/mingw.c: remove printf format warning read_branches_file: plug a FILE* leak
This commit is contained in:
commit
228905fbce
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user