Module: wine Branch: master Commit: a4adc1d7a809edcdea4e282aeb71ed73cf01483f URL: https://source.winehq.org/git/wine.git/?a=commit;h=a4adc1d7a809edcdea4e282ae...
Author: Alex Henrie alexhenrie24@gmail.com Date: Mon Dec 3 21:42:57 2018 -0700
oledb32: Make constant 'hexchars' static.
Signed-off-by: Alex Henrie alexhenrie24@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/oledb32/convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oledb32/convert.c b/dlls/oledb32/convert.c index 971e6d9..f18c756 100644 --- a/dlls/oledb32/convert.c +++ b/dlls/oledb32/convert.c @@ -638,7 +638,7 @@ static HRESULT WINAPI convert_DataConvert(IDataConvert* iface, hr = E_OUTOFMEMORY; else { - const char hexchars[] = "0123456789ABCDEF"; + static const char hexchars[] = "0123456789ABCDEF"; WCHAR *s = *d; unsigned char *p = src; while (src_len > 0)