[PATCH] oledb32: Make constant 'hexchars' static

Alex Henrie alexhenrie24 at gmail.com
Mon Dec 3 22:42:57 CST 2018


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 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 971e6d90a7..f18c756f4c 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)
-- 
2.19.2




More information about the wine-devel mailing list