From c55db752a2922776ea97de69ae9986ad90093ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Tue, 22 Nov 2011 23:00:38 +0100 Subject: [PATCH] oleaut32: Avoid hardcoding array lengths. --- dlls/oleaut32/vartype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c index 2ab54384a0f..9810d350c84 100644 --- a/dlls/oleaut32/vartype.c +++ b/dlls/oleaut32/vartype.c @@ -6408,7 +6408,7 @@ static BSTR VARIANT_BstrReplaceDecimal(const WCHAR * buff, LCID lcid, ULONG dwFl { WCHAR *p; WCHAR numbuff[256]; - WCHAR empty[1] = {'\0'}; + WCHAR empty[] = {'\0'}; NUMBERFMTW minFormat; minFormat.NumDigits = 0;