From 26e4388e1d5f7f2b62067442aabb72c10e66ed3e Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Thu, 6 Feb 2020 13:20:13 +0300 Subject: [PATCH] gosthash2012: Clean up cmake test for _addcarry_u64 Not last version went into commit ed0f8fbedf438e0ed1f6da9e829a932881695175 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d6da65..f042c6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,9 +55,9 @@ check_c_source_runs(" # include #endif int main(void) { - unsigned long long x = -1, y = 1, r; + unsigned long long x = -1, y = 1, r; unsigned char cf; - cf = _addcarry_u64(1, (unsigned long)x, y, &r); + cf = _addcarry_u64(1, x, y, &r); return !(cf == 1 && r == 1); } " ADDCARRY_U64) -- 2.39.5