summaryrefslogtreecommitdiff
path: root/yapp/popup_history_dlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yapp/popup_history_dlg.cpp')
-rw-r--r--yapp/popup_history_dlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yapp/popup_history_dlg.cpp b/yapp/popup_history_dlg.cpp
index 2ab979b..b5673c7 100644
--- a/yapp/popup_history_dlg.cpp
+++ b/yapp/popup_history_dlg.cpp
@@ -496,7 +496,7 @@ void CopyPopupDataToClipboard(HWND hList, int selection)
if (found)
{
EmptyClipboard();
- int len = _tcslen(buffer);
+ int len = (int)_tcslen(buffer);
HANDLE hData = GlobalAlloc(GMEM_MOVEABLE, (len + 2) * sizeof(TCHAR));
clipboard = (TCHAR *) GlobalLock(hData);