aboutsummaryrefslogtreecommitdiffstats
path: root/src/bls_c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bls_c.cpp')
-rw-r--r--src/bls_c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bls_c.cpp b/src/bls_c.cpp
index c9e2408..5a56221 100644
--- a/src/bls_c.cpp
+++ b/src/bls_c.cpp
@@ -198,7 +198,7 @@ void blsGetPublicKey(blsPublicKey *pub, const blsSecretKey *sec)
{
mclBnG2_mul(&pub->v, cast(&getQ()), &sec->v);
}
-void blsSign(blsSignature *sig, const blsSecretKey *sec, const char *m, size_t size)
+void blsSign(blsSignature *sig, const blsSecretKey *sec, const void *m, size_t size)
{
G1 Hm;
BN::hashAndMapToG1(Hm, m, size);