Revision: 7696 https://osdn.net/projects/ttssh2/scm/svn/commits/7696 Author: zmatsuo Date: 2019-05-20 00:07:23 +0900 (Mon, 20 May 2019) Log Message: ----------- VS2005でビルドエラーが出ないよう修正 Modified Paths: -------------- branches/cmake/TTProxy/YCL/include/YCL/FileVersion.h -------------- next part -------------- Modified: branches/cmake/TTProxy/YCL/include/YCL/FileVersion.h =================================================================== --- branches/cmake/TTProxy/YCL/include/YCL/FileVersion.h 2019-05-19 15:07:10 UTC (rev 7695) +++ branches/cmake/TTProxy/YCL/include/YCL/FileVersion.h 2019-05-19 15:07:23 UTC (rev 7696) @@ -105,7 +105,7 @@ bool validateFixedFileInfo()const { if (fixedInfo == NULL){ UINT size; - if (!::VerQueryValue((void*) (const void*) info, ROOT(), (LPVOID*) &fixedInfo, &size)) + if (!::VerQueryValue((void*) (const void*) info, (LPTSTR)ROOT(), (LPVOID*) &fixedInfo, &size)) return false; } return true; @@ -112,7 +112,7 @@ } bool validateTranslation()const { if (trans == NULL){ - if (!::VerQueryValue((void*) (const void*) info, TRANS(), (LPVOID*) &trans, &transSize)) + if (!::VerQueryValue((void*) (const void*) info, (LPTSTR)TRANS(), (LPVOID*) &trans, &transSize)) return false; } return true;