diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-07-10 23:01:56 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-07-10 23:43:40 +0200 |
commit | d7f9529bdd8b24701f8c1c2e62a52c8a7e908137 (patch) | |
tree | bda9e6189fc24f66a605fbf55558cb816e2a40d8 /src | |
parent | Merge pull request #906 from aroulin/loader-format-specifier-warning (diff) | |
download | yuzu-d7f9529bdd8b24701f8c1c2e62a52c8a7e908137.tar yuzu-d7f9529bdd8b24701f8c1c2e62a52c8a7e908137.tar.gz yuzu-d7f9529bdd8b24701f8c1c2e62a52c8a7e908137.tar.bz2 yuzu-d7f9529bdd8b24701f8c1c2e62a52c8a7e908137.tar.lz yuzu-d7f9529bdd8b24701f8c1c2e62a52c8a7e908137.tar.xz yuzu-d7f9529bdd8b24701f8c1c2e62a52c8a7e908137.tar.zst yuzu-d7f9529bdd8b24701f8c1c2e62a52c8a7e908137.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/bit_field.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/bit_field.h b/src/common/bit_field.h index 1f3ecf844..257d5577d 100644 --- a/src/common/bit_field.h +++ b/src/common/bit_field.h @@ -188,7 +188,7 @@ private: __forceinline StorageType GetMask() const { - return ((~(StorageTypeU)0) >> (8 * sizeof(T)-bits)) << position; + return (((StorageTypeU)~0) >> (8 * sizeof(T)-bits)) << position; } StorageType storage; |