commit | 62238d1a6c2746d9afa3900bf83d50896e5fed20 | [log] [tgz] |
---|---|---|
author | Jens Geyer <jensg@apache.org> | Wed Jun 26 20:51:26 2019 +0200 |
committer | Jens Geyer <jensg@apache.org> | Wed Jun 26 20:53:22 2019 +0200 |
tree | 9e0f87a1427645432c0c595b98ef631db1ec2bed | |
parent | 03bf8482690026beeb7560a4f8d2ab7512edafd9 [diff] |
THRIFT-4886 More detailed error information for WinHTTP transport Client: Delphi Patch: Jens Geyer
diff --git a/lib/delphi/src/Thrift.WinHTTP.pas b/lib/delphi/src/Thrift.WinHTTP.pas index 8d677dd..854d7c0 100644 --- a/lib/delphi/src/Thrift.WinHTTP.pas +++ b/lib/delphi/src/Thrift.WinHTTP.pas
@@ -739,7 +739,7 @@ nil); SetString( result, pBuffer, nChars); finally - LocalFree( Cardinal( pBuffer)); + LocalFree( NativeUInt( pBuffer)); end; end;