mirror of https://github.com/odrling/Aegisub
Fix Windows x64 compilation
This commit is contained in:
parent
3b13260ca1
commit
913b8438f3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue