Browse Source

* Partial 45708, needed for subsequent fpjson

git-svn-id: branches/fixes_3_2@46634 -
michael 5 years ago
parent
commit
160d59b1df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-json/src/fpjson.pp

+ 1 - 1
packages/fcl-json/src/fpjson.pp

@@ -1048,7 +1048,7 @@ begin
     TJSONData.DoError(SErrNoParserHandler)
   else
     begin
-    Setlength(S,JSON.Size);
+    Setlength(S{%H-},JSON.Size);
     if Length(S)>0 then
       JSON.ReadBuffer(S[1],Length(S));
     end;