Browse Source

fix for issue https://github.com/Xor-el/CryptoLib4Pascal/issues/5

Ugochukwu Mmaduekwe 7 years ago
parent
commit
d0b1bbd2c7
2 changed files with 4 additions and 3 deletions
  1. 1 1
      CryptoLib/src/Asn1/ClpDerBmpString.pas
  2. 3 2
      CryptoLib/src/Include/CryptoLib.inc

+ 1 - 1
CryptoLib/src/Asn1/ClpDerBmpString.pas

@@ -168,7 +168,7 @@ begin
   LowPoint := 1;
   HighPoint := System.Length(Str);
 {$ENDIF DELPHIXE3_UP}
-  For i := LowPoint to HighPoint do
+  for i := LowPoint to HighPoint do
   begin
     c[i - 1] := Str[i];
   end;

+ 3 - 2
CryptoLib/src/Include/CryptoLib.inc

@@ -15,8 +15,6 @@
 
 (* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
 
-{$WARN SYMBOL_DEPRECATED OFF}
-
 {$DEFINE DELPHI}
 
 (* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
@@ -78,6 +76,9 @@
 // Disable Duplicate Constructor Warnings
 {$WARN DUPLICATE_CTOR_DTOR OFF}
 
+// Disable Deprecated Warnings
+{$WARN SYMBOL_DEPRECATED OFF}
+
  // 2010 only
 {$IF CompilerVersion = 21.0}
 {$DEFINE DELPHI2010}