mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:19:27 +02:00
* fixed 64bit bug in iconvenc.pas
git-svn-id: trunk@11688 -
This commit is contained in:
parent
0ed810b6b0
commit
5c33285229
@ -96,8 +96,6 @@ end;
|
||||
{$ENDIF}
|
||||
|
||||
function InitIconv(Var error:string): Boolean;
|
||||
var
|
||||
err: PChar;
|
||||
begin
|
||||
result:=true;
|
||||
{$ifdef LOADDYNAMIC}
|
||||
@ -111,7 +109,7 @@ end;
|
||||
|
||||
function Iconvert(S:string;var res:string; FromEncoding, ToEncoding: string): cint;
|
||||
var
|
||||
InLen, OutLen, Offset: longint;
|
||||
InLen, OutLen, Offset: size_t;
|
||||
Src, Dst: PChar;
|
||||
H: iconv_t;
|
||||
lerr: cint;
|
||||
|
Loading…
Reference in New Issue
Block a user