diff --git a/tools/redpanda-win-git-askpass/main.cpp b/tools/redpanda-win-git-askpass/main.cpp index 470aaefa..e3682813 100644 --- a/tools/redpanda-win-git-askpass/main.cpp +++ b/tools/redpanda-win-git-askpass/main.cpp @@ -2,6 +2,7 @@ #include #include "resource.h" #include +#include HINSTANCE hInst; @@ -37,9 +38,9 @@ LRESULT CALLBACK TxtPasswordWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l switch(msg) { case WM_KEYDOWN: if (wParam==VK_RETURN) { - char s[500+1]; + TCHAR s[500+1]; Edit_GetText(hwndTxtPassword,s,500); - printf("%s", s); + _tprintf(_T("%s"), s); DestroyWindow(hMainDlg); return TRUE; }