From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> --- dlls/odbc32/proxyodbc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c index 2ced00dc3fd..52265afa2d4 100644 --- a/dlls/odbc32/proxyodbc.c +++ b/dlls/odbc32/proxyodbc.c @@ -2967,8 +2967,8 @@ static SQLRETURN get_desc_rec_win32_a( struct descriptor *desc, SQLSMALLINT reco subtype, len, precision, scale, nullable ); if (SUCCESS( ret )) { - int len = WideCharToMultiByte( CP_ACP, 0, nameW, -1, (char *)name, buflen, NULL, NULL ); - if (retlen) *retlen = len - 1; + int stringlen = WideCharToMultiByte( CP_ACP, 0, nameW, -1, (char *)name, buflen, NULL, NULL ); + if (retlen) *retlen = stringlen - 1; } free( nameW ); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10849