Description: Fixed  pointer targets in initialization differ in signedness warning.
Author: Josue Ortega <josueortega@debian.org.gt>
Forwarded: https://github.com/tgalal/python-axolotl-curve25519/pull/2
Last-Update: 2015-02-15

--- a/curve25519module.c
+++ b/curve25519module.c
@@ -47,7 +47,8 @@
         return NULL;
     }
 
-   curve25519_sign(signature, privatekey, message, messagelen, random);
+    curve25519_sign((unsigned char *)signature, (unsigned char *)privatekey, 
+                    (unsigned char *)message, messagelen, (unsigned char *)random);
 
    return PyBytes_FromStringAndSize((char *)signature, 64);
 }
@@ -73,7 +74,8 @@
         return NULL;
     }
 
-    int result = curve25519_verify(signature, publickey, message, messagelen);
+    int result = curve25519_verify((unsigned char *)signature, (unsigned char *)publickey, 
+                                   (unsigned char *)message, messagelen);
 
     return Py_BuildValue("i", result);
 
@@ -173,4 +175,4 @@
         (void)Py_InitModule("axolotl_curve25519", curve25519_functions);
     }
 
-#endif
\ No newline at end of file
+#endif
