Cast the pointer to the uint64_t where the result should be stored to a char
pointer (memcached_response expects char pointer).
return MEMCACHED_WRITE_FAILURE;
}
return MEMCACHED_WRITE_FAILURE;
}
- return memcached_response(&ptr->hosts[server_key], value, sizeof(*value), NULL);
+ return memcached_response(&ptr->hosts[server_key], (char*)value, sizeof(*value), NULL);
}
memcached_return memcached_increment(memcached_st *ptr,
}
memcached_return memcached_increment(memcached_st *ptr,