Переглянути джерело

Fix compilation with range check on by redefining tat array in ClearComments procedure

git-svn-id: trunk@33015 -
pierre 9 роки тому
батько
коміт
315ce0447b
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      utils/fprcp/comments.pp

+ 1 - 1
utils/fprcp/comments.pp

@@ -4,7 +4,7 @@ procedure ClearComments(nesting:longbool;__buf:pointer;size:longint);
 implementation
 procedure ClearComments(nesting:longbool;__buf:pointer;size:longint);
  type
-  tat=array[1..1]of char;
+  tat=array[1..2]of char;
   pat=^tat;
   pblock=^tblock;
   tblock=record