Fix Windows x64 compilation

This commit is contained in:
Thomas Goyne 2015-12-29 15:20:36 -08:00
parent 3b13260ca1
commit 913b8438f3
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ CollectionResult GdiFontFileLister::GetFontPaths(std::string const& facename, in
get_font_data(buffer, dc);
auto range = index.equal_range(murmur3(buffer.c_str(), std::min(buffer.size(), 1024U)));
auto range = index.equal_range(murmur3(buffer.c_str(), std::min<size_t>(buffer.size(), 1024U)));
if (range.first == range.second)
return ret; // could instead write to a temp dir