From: Padraig O'Sullivan Date: Sat, 18 Jul 2009 17:10:13 +0000 (-0400) Subject: Build fixes for the libmemcached_do.c file. X-Git-Tag: 0.32~7^2^2~6 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=2b6bac349f09a86431b9e2ee4613e92567f8c833;p=awesomized%2Flibmemcached Build fixes for the libmemcached_do.c file. --- diff --git a/libmemcached/memcached_do.c b/libmemcached/memcached_do.c index b46805a0..46ca79b9 100644 --- a/libmemcached/memcached_do.c +++ b/libmemcached/memcached_do.c @@ -23,7 +23,7 @@ memcached_return memcached_do(memcached_server_st *ptr, const void *command, if (ptr->type == MEMCACHED_CONNECTION_UDP && with_flush && ptr->write_buffer_offset > UDP_DATAGRAM_HEADER_LENGTH) memcached_io_write(ptr, NULL, 0, 1); - sent_length= memcached_io_write(ptr, command, command_length, with_flush); + sent_length= memcached_io_write(ptr, command, command_length, (char) with_flush); if (sent_length == -1 || (size_t)sent_length != command_length) rc= MEMCACHED_WRITE_FAILURE;