X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditorKey.cpp;h=eca76732b24d4232c783ce1988ea3b202907ce13;hb=49741064286885973537ba6574b05f4709b869c0;hp=7234bbeb0821847ca6570dead178eb3d2802c34b;hpb=d653acf6bf03a8a713701c5ade6b246e3b506883;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditorKey.cpp b/source/contacteditor/frmContactEditorKey.cpp index 7234bbe..eca7673 100644 --- a/source/contacteditor/frmContactEditorKey.cpp +++ b/source/contacteditor/frmContactEditorKey.cpp @@ -225,7 +225,7 @@ void frmContactEditorKey::ProcessAction( wxCommandEvent& event ) wxString wxSb64orig = txtKeyData->GetValue(); std::string base64new = std::string(wxSb64orig.mb_str()); - std::string base64enc = base64_encode(reinterpret_cast(base64new.c_str()), base64new.length()); + std::string base64enc = base64_encode(reinterpret_cast(base64new.c_str()), (int)base64new.length()); wxString wxSb64key(base64enc.c_str(), wxConvUTF8); KeyListPtr->insert(std::make_pair(KeyListIndex, wxSb64key)); @@ -307,7 +307,7 @@ void frmContactEditorKey::ProcessAction( wxCommandEvent& event ) wxString wxSb64orig = txtKeyData->GetValue(); std::string base64new = std::string(wxSb64orig.mb_str()); - std::string base64enc = base64_encode(reinterpret_cast(base64new.c_str()), base64new.length()); + std::string base64enc = base64_encode(reinterpret_cast(base64new.c_str()), (int)base64new.length()); wxString wxSb64key(base64enc.c_str(), wxConvUTF8); KeyListPtr->erase(KeyListIndex);