From 87c4be15621057cc018244c6e5bbb96e8866f275 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sat, 28 Nov 2020 17:50:22 +0100 Subject: [PATCH] Fix compiler warnings. --- Content.Benchmarks/NetSerializerIntBenchmark.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Benchmarks/NetSerializerIntBenchmark.cs b/Content.Benchmarks/NetSerializerIntBenchmark.cs index a111d98dbb..3fe810dc07 100644 --- a/Content.Benchmarks/NetSerializerIntBenchmark.cs +++ b/Content.Benchmarks/NetSerializerIntBenchmark.cs @@ -160,7 +160,7 @@ namespace Content.Benchmarks if (val == -1) throw new EndOfStreamException(); - a |= (uint) (val << i); + a |= (uint) val << i; } return a; @@ -176,7 +176,7 @@ namespace Content.Benchmarks if (val == -1) throw new EndOfStreamException(); - a |= (ulong) (val << i); + a |= (ulong) val << i; } return a;