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 8080 <Project >{18430fef-6b61-4c53-b396-718e02850f1b}</Project >
8181 </ProjectReference >
8282 </ItemGroup >
83- <ItemDefinitionGroup >
84- <ClCompile >
85- <DisableSpecificWarnings >4018;4244;4267;4334;4715;4805</DisableSpecificWarnings >
86- </ClCompile >
87- </ItemDefinitionGroup >
8883 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
8984 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.targets" />
9085 <Import Project =" ..\common.vcxproj" />
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ class PoolResourceFuzzer
6363 {
6464 if (m_total_allocated > 0x1000000 ) return ;
6565 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;
6767 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;
6969 Allocate (size, alignment);
7070 }
7171
You can’t perform that action at this time.
0 commit comments