summaryrefslogtreecommitdiff
path: root/src/modules/clist/cluiservices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/cluiservices.cpp')
-rw-r--r--src/modules/clist/cluiservices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/clist/cluiservices.cpp b/src/modules/clist/cluiservices.cpp
index 8695adcb42..86ac9e7036 100644
--- a/src/modules/clist/cluiservices.cpp
+++ b/src/modules/clist/cluiservices.cpp
@@ -184,13 +184,13 @@ void fnCluiProtocolStatusChanged(int, const char*)
if (showOpts & 4 && mir_tstrlen(tszName) < SIZEOF(tszName)-1)
mir_tstrcat(tszName, _T(" "));
- GetTextExtentPoint32(hdc, tszName, mir_tstrlen(tszName), &textSize);
+ GetTextExtentPoint32(hdc, tszName, (int)mir_tstrlen(tszName), &textSize);
x += textSize.cx;
x += GetSystemMetrics(SM_CXBORDER) * 4; // The SB panel doesnt allocate enough room
}
if (showOpts & 4) {
TCHAR* modeDescr = cli.pfnGetStatusModeDescription(CallProtoServiceInt(NULL,cli.menuProtos[i].szProto, PS_GETSTATUS, 0, 0), 0);
- GetTextExtentPoint32(hdc, modeDescr, mir_tstrlen(modeDescr), &textSize);
+ GetTextExtentPoint32(hdc, modeDescr, (int)mir_tstrlen(modeDescr), &textSize);
x += textSize.cx;
x += GetSystemMetrics(SM_CXBORDER) * 4; // The SB panel doesnt allocate enough room
}