From: Steve Brokenshire Date: Mon, 3 Aug 2015 20:40:06 +0000 (+0100) Subject: Added conversion to integer when passing the port number to the CardDAV object. X-Git-Tag: release-0.05~89 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=f84a6f54c4acd0d84be4c4f9d0d7eb1cdb101b41 Added conversion to integer when passing the port number to the CardDAV object. --- 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.