static bool generic_xattr_build_streams(JCR *jcr, FF_PKT *ff_pkt, int stream)
{
int count = 0;
- ssize_t xattr_list_len,
+ int32_t xattr_list_len,
xattr_value_len,
expected_serialize_len = 0,
serialize_len = 0;
* Copy data into a pool memory buffer pm
* Returns: length of data copied
*/
-int pm_memcpy(POOLMEM **pm, const void *data, size_t n)
+int pm_memcpy(POOLMEM **pm, const void *data, int32_t n)
{
*pm = check_pool_memory_size(*pm, n);
memcpy(*pm, data, n);
return n;
}
-int pm_memcpy(POOLMEM *&pm, const void *data, size_t n)
+int pm_memcpy(POOLMEM *&pm, const void *data, int32_t n)
{
pm = check_pool_memory_size(pm, n);
memcpy(pm, data, n);
return n;
}
-int pm_memcpy(POOLMEM *&pm, POOL_MEM &data, size_t n)
+int pm_memcpy(POOLMEM *&pm, POOL_MEM &data, int32_t n)
{
pm = check_pool_memory_size(pm, n);
memcpy(pm, data.c_str(), n);
return n;
}
-int pm_memcpy(POOL_MEM &pm, const void *data, size_t n)
+int pm_memcpy(POOL_MEM &pm, const void *data, int32_t n)
{
pm.check_size(n);
memcpy(pm.c_str(), data, n);
int pm_strcpy(POOL_MEM &pm, const char *str);
int pm_strcpy(POOLMEM *&pm, POOL_MEM &str);
-int pm_memcpy(POOLMEM **pm, const char *data, size_t n);
-int pm_memcpy(POOLMEM *&pm, const char *data, size_t n);
-int pm_memcpy(POOL_MEM &pm, const char *data, size_t n);
-int pm_memcpy(POOLMEM *&pm, POOL_MEM &data, size_t n);
+int pm_memcpy(POOLMEM **pm, const char *data, int32_t n);
+int pm_memcpy(POOLMEM *&pm, const char *data, int32_t n);
+int pm_memcpy(POOL_MEM &pm, const char *data, int32_t n);
+int pm_memcpy(POOLMEM *&pm, POOL_MEM &data, int32_t n);
#endif