mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-29 16:19:28 +02:00
* Fix forgotten PChar->PAnsiChar
This commit is contained in:
parent
15ed1f131e
commit
9a9a11ee5d
@ -329,7 +329,7 @@ begin
|
||||
Move(p^, Result^, BufLen);
|
||||
end;
|
||||
|
||||
function StrBufNew(p: PChar; BufLen: Cardinal): PChar;
|
||||
function StrBufNew(p: PAnsiChar; BufLen: Cardinal): PAnsiChar;
|
||||
begin
|
||||
Result := nil;
|
||||
if (p = nil) or (p^ = #0) then
|
||||
|
Loading…
Reference in New Issue
Block a user