Преглед изворни кода

* make FILETYPE_NAME a string[14] as proposed by Alexey Torgashin

florian пре 2 недеља
родитељ
комит
0c9951e30c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/libtar/src/libtar.pp

+ 1 - 1
packages/libtar/src/libtar.pp

@@ -237,7 +237,7 @@ TYPE
 
 
 // --- Some useful constants
 // --- Some useful constants
 CONST
 CONST
-  FILETYPE_NAME : ARRAY [TFileType] OF STRING =
+  FILETYPE_NAME : ARRAY [TFileType] OF STRING[14] =
                   ('Regular', 'Link', 'Symbolic Link', 'AnsiChar File', 'Block File',
                   ('Regular', 'Link', 'Symbolic Link', 'AnsiChar File', 'Block File',
                    'Directory', 'FIFO File', 'Contiguous', 'Dir Dump', 'Multivol', 'Volume Header');
                    'Directory', 'FIFO File', 'Contiguous', 'Dir Dump', 'Multivol', 'Volume Header');