Explorar o código

* Fix compilation for ARM

Michaël Van Canneyt %!s(int64=2) %!d(string=hai) anos
pai
achega
188fc9c112
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

@@ -2526,7 +2526,7 @@ begin
 {$ifdef arm}
        'I' :
          begin
-           if (upper(copy(more,j+1)='THUMB') and
+           if (upper(copy(more,j+1))='THUMB') and
              { does selected CPU really understand thumb? }
              (init_settings.cputype in cpu_has_thumb) then
              init_settings.instructionset:=is_thumb