sys_info->shared_memory=0x20;
sys_info->pss_memory=0x21;
- sys_info->total_alloc_size=(uint32_t)0x22;
+ sys_info->total_alloc_size=(uint64_t)0x22;
sys_info->system_memory_total=(uint64_t)0x23;
sys_info->system_memory_used=(uint64_t)0x24;
sys_info->total_used_drive=0x25;
uint32_t resident_memory;
uint32_t shared_memory;
uint32_t pss_memory;
- uint32_t total_alloc_size;
+ uint64_t total_alloc_size;
uint64_t system_memory_total;
uint64_t system_memory_used;
pack_int32(p, sys_info->resident_memory);
pack_int32(p, sys_info->shared_memory);
pack_int32(p, sys_info->pss_memory);
- pack_int32(p, sys_info->total_alloc_size);
+ pack_int64(p, sys_info->total_alloc_size);
pack_int64(p, sys_info->system_memory_total);
pack_int64(p, sys_info->system_memory_used);
} else {
pack_int32(p, 0); /* pack resident_memory */
pack_int32(p, 0); /* pack shared_memory */
pack_int32(p, 0); /* pack pss_memory */
- pack_int32(p, 0); /* pack total_alloc_size */
+ pack_int64(p, (uint64_t) 0); /* pack total_alloc_size */
pack_int64(p, (uint64_t) 0); /* pack system_memory_total */
pack_int64(p, (uint64_t) 0); /* pack system_memory_used */
}