From 8595a110a4bc5e6e356fd0c63c6726167c4b8e41 Mon Sep 17 00:00:00 2001 From: Lynix Date: Sat, 15 Jun 2013 16:11:37 +0200 Subject: [PATCH] Fixed compilation warning (C-style cast) Former-commit-id: 063414bfd23047ce05010546f3cfe5188bd8e9b7 --- src/Nazara/Core/Hash/SHA/Internal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nazara/Core/Hash/SHA/Internal.cpp b/src/Nazara/Core/Hash/SHA/Internal.cpp index b4de80959..4b58a4eee 100644 --- a/src/Nazara/Core/Hash/SHA/Internal.cpp +++ b/src/Nazara/Core/Hash/SHA/Internal.cpp @@ -67,7 +67,7 @@ * 64-bit words): */ #define ADDINC128(w,n) { \ - (w)[0] += (nzUInt64)(n); \ + (w)[0] += static_cast(n); \ if ((w)[0] < (n)) { \ (w)[1]++; \ } \