From 69cacbc88b43b44f3c7a91c74a8471d264fcfde9 Mon Sep 17 00:00:00 2001 From: Neha Hasija Date: Tue, 27 Oct 2020 06:33:14 +0530 Subject: [PATCH] Update math/magic_number.cpp Co-authored-by: David Leal --- math/magic_number.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/magic_number.cpp b/math/magic_number.cpp index 35da3b00e..047278500 100644 --- a/math/magic_number.cpp +++ b/math/magic_number.cpp @@ -29,7 +29,7 @@ namespace math { * @param n number to be checked. * @return if number is a magic number, returns true, else false. */ -bool magic_number(int n) { +bool magic_number(const uint64_t &n) { if (n <= 0) { return false; }