wxString wxSb64orig = txtKeyData->GetValue();
std::string base64new = std::string(wxSb64orig.mb_str());
- std::string base64enc = base64_encode(reinterpret_cast<const unsigned char*>(base64new.c_str()), base64new.length());
+ std::string base64enc = base64_encode(reinterpret_cast<const unsigned char*>(base64new.c_str()), (int)base64new.length());
wxString wxSb64key(base64enc.c_str(), wxConvUTF8);
KeyListPtr->insert(std::make_pair(KeyListIndex, wxSb64key));
wxString wxSb64orig = txtKeyData->GetValue();
std::string base64new = std::string(wxSb64orig.mb_str());
- std::string base64enc = base64_encode(reinterpret_cast<const unsigned char*>(base64new.c_str()), base64new.length());
+ std::string base64enc = base64_encode(reinterpret_cast<const unsigned char*>(base64new.c_str()), (int)base64new.length());
wxString wxSb64key(base64enc.c_str(), wxConvUTF8);
KeyListPtr->erase(KeyListIndex);