From f84a6f54c4acd0d84be4c4f9d0d7eb1cdb101b41 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 3 Aug 2015 21:40:06 +0100 Subject: [PATCH] Added conversion to integer when passing the port number to the CardDAV object. --- source/frmEditAccount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/frmEditAccount.cpp b/source/frmEditAccount.cpp index b7c8fef..6a718e7 100644 --- a/source/frmEditAccount.cpp +++ b/source/frmEditAccount.cpp @@ -63,7 +63,7 @@ void frmEditAccount::DetectAddressBook( wxCommandEvent& event ) CardDAV CDavObj; - CDavObj.SetupConnection(txtAddress->GetValue(), PortNum, txtUsername->GetValue(), txtPassword->GetValue(), UseSSL); + CDavObj.SetupConnection(txtAddress->GetValue(), (int)PortNum, txtUsername->GetValue(), txtPassword->GetValue(), UseSSL); // Attempt to extract the CardDAV address. -- 2.39.2