Avoid pointer/integer mismatch, fixes build with clang 15

This commit is contained in:
jca 2023-01-30 13:19:53 +00:00
parent f0a6803b94
commit 11b0a8db72
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Avoid pointer/integer mismatch.
Index: curve25519module.c
--- curve25519module.c.orig
+++ curve25519module.c
@@ -158,7 +158,7 @@ curve25519_functions[] = {
PyModuleDef_HEAD_INIT,
"axolotl_curve25519",
NULL,
- NULL,
+ 0,
curve25519_functions,
};