This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new 62238d1  THRIFT-4886 More detailed error information for WinHTTP 
transport Client: Delphi Patch: Jens Geyer
62238d1 is described below

commit 62238d1a6c2746d9afa3900bf83d50896e5fed20
Author: Jens Geyer <[email protected]>
AuthorDate: Wed Jun 26 20:51:26 2019 +0200

    THRIFT-4886 More detailed error information for WinHTTP transport
    Client: Delphi
    Patch: Jens Geyer
---
 lib/delphi/src/Thrift.WinHTTP.pas | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ begin
                              nil);
     SetString( result, pBuffer, nChars);
   finally
-    LocalFree( Cardinal( pBuffer));
+    LocalFree( NativeUInt( pBuffer));
   end;
 end;
 

Reply via email to