--- old/make/src/native/fixpath.c 2020-05-31 21:25:05.183657021 +0900 +++ new/make/src/native/fixpath.c 2020-05-31 21:25:05.092658260 +0900 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -32,7 +32,7 @@ void report_error(char const * msg) { - LPVOID lpMsgBuf; + LPTSTR lpMsgBuf = NULL; DWORD dw = GetLastError(); FormatMessage( @@ -42,7 +42,7 @@ NULL, dw, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), - (LPTSTR) &lpMsgBuf, + &lpMsgBuf, 0, NULL);