author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 24 Jul 2016 11:41:00 +0000 (13:41 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 24 Jul 2016 11:44:47 +0000 (13:44 +0200) | ||
commit | 6e9778c88af6a290e81bcfda12d6d45c92b931b5 | |
tree | 2b6869be4fe1750c2958ecb17a57182676f7e6de | tree | snapshot |
parent | 5a29f19d5501857ddc048ddb37e779fc5fe253df | commit | diff |
memcached plugin: fix compiler warning on Solaris
| ud.free_func = (void *) memcached_free;
| ^ line 559, memcached.c
assignment type mismatch:
pointer to function(pointer to void) returning void "=" pointer to void
Casting a function pointer to a void pointer is undefined behaviour
in C (it is defined in POSIX however)
| ud.free_func = (void *) memcached_free;
| ^ line 559, memcached.c
assignment type mismatch:
pointer to function(pointer to void) returning void "=" pointer to void
Casting a function pointer to a void pointer is undefined behaviour
in C (it is defined in POSIX however)
src/memcached.c | diff | blob | history |