diff -r e056e4e0b08e -r b20d6088795c ucx/utils.h --- a/ucx/utils.h Fri Feb 26 16:22:20 2016 +0100 +++ b/ucx/utils.h Fri Feb 26 16:33:04 2016 +0100 @@ -45,7 +45,7 @@ #include "ucx.h" #include "string.h" #include "allocator.h" -#include +#include #include #include @@ -95,7 +95,7 @@ * @return total number of bytes copied */ #define ucx_stream_hcopy(src,dest,rfnc,wfnc) ucx_stream_copy(\ - src, dest, (read_func)rfnc, (write_func)wfnc, NULL, 0x100, SIZE_MAX) + src, dest, (read_func)rfnc, (write_func)wfnc, NULL, 0x100, (size_t)-1) /** * Shorthand for ucx_stream_copy using the default copy buffer and a copy limit.