Commit e9d54e986787a67d4af3a88261690500be8d1963

Jan Nijtmans 2019-11-12T14:44:39

remove unnecessary type-casts

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/demo/test.c b/demo/test.c
index 1391ee0..f42c630 100644
--- a/demo/test.c
+++ b/demo/test.c
@@ -223,9 +223,9 @@ static int test_mp_get_set_i64(void)
 
    DOR(mp_init(&a));
 
-   check_get_set_i64(&a, (int64_t)0);
-   check_get_set_i64(&a, (int64_t)-1);
-   check_get_set_i64(&a, (int64_t)1);
+   check_get_set_i64(&a, 0);
+   check_get_set_i64(&a, -1);
+   check_get_set_i64(&a, 1);
    check_get_set_i64(&a, INT64_MIN);
    check_get_set_i64(&a, INT64_MAX);