Fix the return type of felem_is_zero_int which should be int.
[openssl.git] / crypto / ec / ecp_nistp521.c
index c53a61bbfb697d292d7b62f24ac0f080c6c87810..a1dc9946fd17c88955f355d7596c14664e39b9dd 100644 (file)
@@ -871,7 +871,7 @@ static limb felem_is_zero(const felem in)
     return is_zero;
 }
 
-static int felem_is_zero_int(const felem in)
+static int felem_is_zero_int(const void *in)
 {
     return (int)(felem_is_zero(in) & ((limb) 1));
 }
@@ -1787,7 +1787,6 @@ static void make_points_affine(size_t num, felem points[][3],
                                              sizeof(felem),
                                              tmp_felems,
                                              (void (*)(void *))felem_one,
-                                             (int (*)(const void *))
                                              felem_is_zero_int,
                                              (void (*)(void *, const void *))
                                              felem_assign,