You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
397 B

Index: pyzmq-18.0.1/zmq/utils/mutex.h
--- pyzmq-18.0.1/zmq/utils/mutex.h.orig 2017-11-10 17:11:45.000000000 +0100
+++ pyzmq-18.0.1/zmq/utils/mutex.h 2017-11-10 21:31:04.636120000 +0100
@@ -48,7 +48,7 @@
mutex_t*
mutex_allocate(void) {
- mutex_t* mutex = malloc(sizeof(mutex_t));
+ mutex_t* mutex = (mutex_t *)malloc(sizeof(mutex_t));
_mutex_initialize(mutex);
return mutex;
}