summaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxmsvc/include
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2024-08-05 14:45:45 +0300
committerrobot-piglet <[email protected]>2024-08-05 15:24:42 +0300
commit636037ad08e5e0ea28bb4f7eaa1d8bc414c3a038 (patch)
tree4077d9153ffc2a6b503ed885b076858b2a285624 /contrib/libs/cxxsupp/libcxxmsvc/include
parentacf04c75cb52f804ce76b16c356611268be3daf3 (diff)
Intermediate changes
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxmsvc/include')
-rw-r--r--contrib/libs/cxxsupp/libcxxmsvc/include/bitset2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libs/cxxsupp/libcxxmsvc/include/bitset b/contrib/libs/cxxsupp/libcxxmsvc/include/bitset
index d5c42991d9f..c85a280fdfb 100644
--- a/contrib/libs/cxxsupp/libcxxmsvc/include/bitset
+++ b/contrib/libs/cxxsupp/libcxxmsvc/include/bitset
@@ -387,7 +387,7 @@ __bitset<_N_words, _Size>::to_ullong(true_type, true_type) const
{
unsigned long long __r = __first_[0];
for (size_t __i = 1; __i < sizeof(unsigned long long) / sizeof(__storage_type); ++__i)
- __r |= static_cast<unsigned long long>(__first_[__i]) << (sizeof(__storage_type) * CHAR_BIT);
+ __r |= static_cast<unsigned long long>(__first_[__i]) << (sizeof(__storage_type) * CHAR_BIT * __i);
return __r;
}