Selaa lähdekoodia

* PChar -> PAnsiChar

Michael VAN CANNEYT 2 vuotta sitten
vanhempi
commit
c2cb3f7919
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/rtl-extra/src/win/serial.pp

+ 1 - 1
packages/rtl-extra/src/win/serial.pp

@@ -186,7 +186,7 @@ begin
   securityAttributes.lpSecurityDescriptor := nil;
   securityAttributes.bInheritHandle := true;
   result := CreateFile(
-    PChar(DeviceName),
+    PAnsiChar(DeviceName),
     GENERIC_READ or GENERIC_WRITE,
     0,
     @securityAttributes,