Explorar o código

* fixed (harmless) range check error

git-svn-id: trunk@12701 -
Jonas Maebe %!s(int64=16) %!d(string=hai) anos
pai
achega
1c82b105fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/dbgdwarf.pas

+ 1 - 1
compiler/dbgdwarf.pas

@@ -1454,7 +1454,7 @@ implementation
           finish_entry;
           append_entry(DW_TAG_subrange_type,false,[
             DW_AT_lower_bound,DW_FORM_udata,0,
-            DW_AT_upper_bound,DW_FORM_udata,slen
+            DW_AT_upper_bound,DW_FORM_udata,int64(slen)
             ]);
           append_labelentry_ref(DW_AT_type,def_dwarf_lab(lendef));
           finish_entry;