Fix warning.

GitOrigin-RevId: f4f9e41fae377de204eadfbc45408703a3d7c384
This commit is contained in:
levlam 2018-10-21 05:11:56 +03:00
parent 81890f309f
commit 7d751220a7

View File

@ -272,7 +272,7 @@ string get_emoji_fingerprint(uint64 num) {
// comment for clang-format
u8"\U0001f537"};
return emojis[(num & 0x7FFFFFFFFFFFFFFF) % emojis.size()].str();
return emojis[static_cast<size_t>((num & 0x7FFFFFFFFFFFFFFF) % emojis.size())].str();
}
Result<string> check_url(MutableSlice url) {