(svn r18332) -Fix: the MSVC compile warnings

This commit is contained in:
rubidium
2009-11-29 01:00:03 +00:00
parent 5d38d06313
commit 736e0c18cc
3 changed files with 3 additions and 3 deletions

View File

@@ -173,7 +173,7 @@ struct SignListWindow : Window, SignList {
} break;
case SLW_CAPTION:
SetDParam(0, max<uint>(1000, Sign::GetPoolSize()));
SetDParam(0, max<size_t>(1000, Sign::GetPoolSize()));
*size = GetStringBoundingBox(STR_SIGN_LIST_CAPTION);
size->height += padding.height;
size->width += padding.width;