mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Global: Fix some int/size_t conversion warnings.
This commit is contained in:
1 parent
da4b9e82f3
commit
ffbd9bbe98
6 files changed
+9
-9
No files matched your search
@@ -186,7 +186,7 @@ void PSPMsgDialog::DisplayMessage(std::string text, bool hasYesNo, bool hasOK) {
|
||||
|
||||
// Without the scrollbar, we have 390 total pixels.
|
||||
float WRAP_WIDTH = 340.0f;
|
||||
if (UTF8StringNonASCIICount(text.c_str()) >= text.size() / 4) {
|
||||
if ((size_t)UTF8StringNonASCIICount(text.c_str()) >= text.size() / 4) {
|
||||
WRAP_WIDTH = 376.0f;
|
||||
if (text.size() > 12) {
|
||||
messageStyle.scale = 0.6f;
|
||||
|
||||
Reference in new issue
Block a user