diff --git a/harbour/source/rtl/arrays.c b/harbour/source/rtl/arrays.c index 38194fa69b..cb2a756119 100644 --- a/harbour/source/rtl/arrays.c +++ b/harbour/source/rtl/arrays.c @@ -50,10 +50,11 @@ static char *szArgumentError = "Argument error: incorrect type"; /* * Internal */ - + + char * hb_arrayGetDate( PHB_ITEM pArray, ULONG ulIndex ) { - char szDate[ 9 ]; + static char szDate[ 9 ]; long lDay, lMonth, lYear; if( IS_ARRAY( pArray ) )