summary refs log tree commit diff
path: root/crypto/src/math/raw/Nat512.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/raw/Nat512.cs')
-rw-r--r--crypto/src/math/raw/Nat512.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/math/raw/Nat512.cs b/crypto/src/math/raw/Nat512.cs
index 2312e1cf2..f8a34027f 100644
--- a/crypto/src/math/raw/Nat512.cs
+++ b/crypto/src/math/raw/Nat512.cs
@@ -16,7 +16,7 @@ namespace Org.BouncyCastle.Math.Raw
             Nat256.Mul(x, 8, y, 8, zz, 16);
 
             uint c24 = Nat256.AddToEachOther(zz, 8, zz, 16);
-            uint c16 = c24 + Nat256.AddTo(zz, 0, zz, 8, 0);
+            uint c16 = c24 + Nat256.AddTo(zz, 0, zz, 8, 0U);
             c24 += Nat256.AddTo(zz, 24, zz, 16, c16);
 
             uint[] dx = Nat256.Create(), dy = Nat256.Create();
@@ -35,7 +35,7 @@ namespace Org.BouncyCastle.Math.Raw
             Nat256.Square(x, 8, zz, 16);
 
             uint c24 = Nat256.AddToEachOther(zz, 8, zz, 16);
-            uint c16 = c24 + Nat256.AddTo(zz, 0, zz, 8, 0);
+            uint c16 = c24 + Nat256.AddTo(zz, 0, zz, 8, 0U);
             c24 += Nat256.AddTo(zz, 24, zz, 16, c16);
 
             uint[] dx = Nat256.Create();