diff options
Diffstat (limited to 'alf/alfpanel.cpp')
| -rw-r--r-- | alf/alfpanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alf/alfpanel.cpp b/alf/alfpanel.cpp index bd48721..9496e43 100644 --- a/alf/alfpanel.cpp +++ b/alf/alfpanel.cpp @@ -29,7 +29,7 @@ ALF_Panel_Paint(ALFPanelPriv *priv, HWND hwnd, HDC dc, RECT *r) if (textlen < 1) return; - TCHAR *textbuf = ALF_New(TCHAR, textlen + 1); + TCHAR *textbuf = ALF_New(TCHAR, (SIZE_T)textlen + 1); GetWindowText(hwnd, textbuf, textlen+1); HFONT oldFont = SelectFont(dc, priv->font); |
