diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-30 22:12:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-30 22:12:34 +0000 |
commit | 6be364a555dce699d093f9d49cd14a9b0c174893 (patch) | |
tree | ac10770856206fb50d2e83acde528413f5f22009 /src/modules/clist/cluiservices.cpp | |
parent | d9c98bcdfca6da51a1a82dc6c0dc5996b3b6cd6d (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/cluiservices.cpp')
-rw-r--r-- | src/modules/clist/cluiservices.cpp | 4 |
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
}
|