浏览代码

* Avoid string constants array elements longer than type

git-svn-id: trunk@17873 -
pierre 14 年之前
父节点
当前提交
61df26bf0c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/mips/cpuinfo.pas

+ 2 - 2
compiler/mips/cpuinfo.pas

@@ -58,11 +58,11 @@ Const
      pocall_cppdecl
    ];
 
-   cputypestr : array[tcputype] of string[5] = ('',
+   cputypestr : array[tcputype] of string[6] = ('',
      'MIPS32'
    );
 
-   fputypestr : array[tfputype] of string[6] = ('',
+   fputypestr : array[tfputype] of string[9] = ('',
      'SOFT',
      'FPU_MIPS2','FPU_MIPS3'
    );