Strict sign conversions

This commit is contained in:
Pavel Kirienko
2014-08-28 02:51:29 +04:00
parent 4cc7dfb2d4
commit d9d6e80aea
23 changed files with 93 additions and 98 deletions
@@ -86,7 +86,7 @@ private:
}
}
static void truncate(StorageType& value) { value &= mask(); }
static void truncate(StorageType& value) { value = value & StorageType(mask()); }
static void validate()
{