diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-16 19:25:35 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-16 19:25:35 +0200 |
| commit | 8b5755851611574fd4010d9fa4e1046b78a501b9 (patch) | |
| tree | 84817c8bea211c099d72967470a1f054ece707c6 /alf/alfpanel.cpp | |
| parent | 536ea04c34ba761d7031eeabb6d50adab0f0f2bd (diff) | |
make it build with -Wconversion
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); |
