diff options
author | Sergey Andreenko <seandree@microsoft.com> | 2018-06-14 18:32:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 18:32:41 -0700 |
commit | 1c8c96ec2bb52368124928648d7557ac85ff9c40 (patch) | |
tree | b3e231f27232ea8532f1914f23f982914df23836 /src/zap | |
parent | 793daddd90caa014dc2dacebd6b73035ae57bae5 (diff) | |
download | coreclr-1c8c96ec2bb52368124928648d7557ac85ff9c40.tar.gz coreclr-1c8c96ec2bb52368124928648d7557ac85ff9c40.tar.bz2 coreclr-1c8c96ec2bb52368124928648d7557ac85ff9c40.zip |
clean up list of disabled warnings. (#18318)
* delete warnings that do not longer exist
For example C4171 was deleted after VS 6.0 (https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-6.0/aa233011(v=vs.60))
* delete C4206 fromm the list
because its default value is 4, so this line is useless.
* reenable warning as error.
* enable warning C4430
and fix places that trigger it.
* fix C4334
* format the list
* fix ssize_t
Diffstat (limited to 'src/zap')
-rw-r--r-- | src/zap/nativeformatwriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zap/nativeformatwriter.cpp b/src/zap/nativeformatwriter.cpp index 9e1b8196cb..4986605b7b 100644 --- a/src/zap/nativeformatwriter.cpp +++ b/src/zap/nativeformatwriter.cpp @@ -259,7 +259,7 @@ namespace NativeFormat bool fFirstIsLeaf = false, fSecondIsLeaf = false; Vertex * pFirst = ExpandBlock(index, depth - 1, false, &fFirstIsLeaf); - Vertex * pSecond = ExpandBlock(index + (1 << (depth - 1)), depth - 1, true, &fSecondIsLeaf); + Vertex * pSecond = ExpandBlock(index + (size_t{ 1 } << (depth - 1)), depth - 1, true, &fSecondIsLeaf); Vertex * pPop; |