diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2017-11-20 10:40:57 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2017-11-20 10:40:57 +0000 |
commit | 3f69515171697a89a27bfe1f3995f0901014a267 (patch) | |
tree | 5234c299ef948a118c5ca70dcc10fc44cd907bb2 /sysutils/passwordsafe | |
parent | f4ecc7cd094b67404eb29edfc44d8d8a8aa1688b (diff) | |
download | ports-3f69515171697a89a27bfe1f3995f0901014a267.tar.gz ports-3f69515171697a89a27bfe1f3995f0901014a267.zip |
Notes
Diffstat (limited to 'sysutils/passwordsafe')
-rw-r--r-- | sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp b/sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp new file mode 100644 index 000000000000..ca16faa68f62 --- /dev/null +++ b/sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp @@ -0,0 +1,20 @@ +--- src/ui/wxWidgets/passwordsubset.cpp.orig 2017-11-20 03:11:40.369984000 +0300 ++++ src/ui/wxWidgets/passwordsubset.cpp 2017-11-20 03:12:19.012627000 +0300 +@@ -240,7 +240,7 @@ + m_vals->Clear(); + m_error->SetLabel(wxEmptyString); + +- std::wistringstream is(pos_str.wc_str()); ++ std::wistringstream is(static_cast<const wchar_t*>(pos_str.wc_str())); + int pos; + while (is >> pos) { + if (pos > 0 && pos <= N) +@@ -280,7 +280,7 @@ + wxASSERT(val_str.length() % 2 == 0); + for (size_t i = 0; i < val_str.length(); i += 2) + reduced_str += val_str[i]; +- PWSclipboard::GetInstance()->SetData(reduced_str.wc_str()); ++ PWSclipboard::GetInstance()->SetData(static_cast<const wchar_t*>(reduced_str.wc_str())); + } + } + |