diff options
author | Jens Geyer <jensg@apache.org> | 2019-06-26 20:51:26 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2019-06-26 20:53:22 +0200 |
commit | 62238d1a6c2746d9afa3900bf83d50896e5fed20 (patch) | |
tree | 9e0f87a1427645432c0c595b98ef631db1ec2bed /lib/delphi | |
parent | 03bf8482690026beeb7560a4f8d2ab7512edafd9 (diff) | |
download | thrift-62238d1a6c2746d9afa3900bf83d50896e5fed20.tar.gz |
THRIFT-4886 More detailed error information for WinHTTP transport
Client: Delphi
Patch: Jens Geyer
Diffstat (limited to 'lib/delphi')
-rw-r--r-- | lib/delphi/src/Thrift.WinHTTP.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/delphi/src/Thrift.WinHTTP.pas b/lib/delphi/src/Thrift.WinHTTP.pas index 8d677dd3e..854d7c080 100644 --- a/lib/delphi/src/Thrift.WinHTTP.pas +++ b/lib/delphi/src/Thrift.WinHTTP.pas @@ -739,7 +739,7 @@ begin nil); SetString( result, pBuffer, nChars); finally - LocalFree( Cardinal( pBuffer)); + LocalFree( NativeUInt( pBuffer)); end; end; |