File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 80
80
<Project >{18430fef-6b61-4c53-b396-718e02850f1b}</Project >
81
81
</ProjectReference >
82
82
</ItemGroup >
83
- <ItemDefinitionGroup >
84
- <ClCompile >
85
- <DisableSpecificWarnings >4018;4244;4267;4334;4715;4805</DisableSpecificWarnings >
86
- </ClCompile >
87
- </ItemDefinitionGroup >
88
83
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
89
84
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.targets" />
90
85
<Import Project =" ..\common.vcxproj" />
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ class PoolResourceFuzzer
63
63
{
64
64
if (m_total_allocated > 0x1000000 ) return ;
65
65
size_t alignment_bits = m_provider.ConsumeIntegralInRange <size_t >(0 , 7 );
66
- size_t alignment = 1 << alignment_bits;
66
+ size_t alignment = size_t { 1 } << alignment_bits;
67
67
size_t size_bits = m_provider.ConsumeIntegralInRange <size_t >(0 , 16 - alignment_bits);
68
- size_t size = m_provider.ConsumeIntegralInRange <size_t >(1U << size_bits, (1U << (size_bits + 1 )) - 1U ) << alignment_bits;
68
+ size_t size = m_provider.ConsumeIntegralInRange <size_t >(size_t { 1 } << size_bits, (size_t { 1 } << (size_bits + 1 )) - 1U ) << alignment_bits;
69
69
Allocate (size, alignment);
70
70
}
71
71
You can’t perform that action at this time.
0 commit comments