Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/engine/UpdateInstallDialog.cpp

Issue 11449051: Fix 64-bit conversion errors (Closed)
Patch Set: Created Aug. 16, 2013, 2:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/engine/UpdateInstallDialog.cpp
===================================================================
--- a/src/engine/UpdateInstallDialog.cpp
+++ b/src/engine/UpdateInstallDialog.cpp
@@ -58,7 +58,7 @@
RECT alphabetRect = {};
DrawTextW(deviceContext, alphabet.c_str(), -1, &alphabetRect,
DT_CALCRECT | DT_NOPREFIX);
- return alphabetRect.right / alphabet.length();
+ return alphabetRect.right / static_cast<int>(alphabet.length());
}
HWND CreateStaticText(HWND parent)
« no previous file with comments | « src/engine/Main.cpp ('k') | src/plugin/PluginClass.cpp » ('j') | src/plugin/PluginClass.cpp » ('J')

Powered by Google App Engine
This is Rietveld