if (temp <= INT32_MAX and ( sizeof(pid_t) == sizeof(int32_t) ))
{
- memc_stat->pid= temp;
+ memc_stat->pid= pid_t(temp);
}
else if (temp > -1)
{
- memc_stat->pid= temp;
+ memc_stat->pid= pid_t(temp);
}
else
{
* memcached_response will decrement the counter, so I need to reset it..
* todo: look at this and try to find a better solution.
* */
- instance->cursor_active= 0;
+ instance->cursor_active_= 0;
return MEMCACHED_SUCCESS;
}