[CRIU] [PATCH 1/2] cr-restore.c: fixed compilation errors on ARM
Pavel Emelyanov
xemul at parallels.com
Tue Mar 19 07:46:13 EDT 2013
On 03/19/2013 09:51 AM, Alexander Kartashov wrote:
> On 03/18/2013 10:31 PM, Pavel Emelyanov wrote:
>>> - p = (void *)((off) * PAGE_SIZE +
>>>> + p = decode_pointer((off) * PAGE_SIZE +
>>>> vma_premmaped_start(&vma->vma));
>> This looks bogus. decode_pointer should convert u64 into void *, not
>> unsigned long to void *.
>>
>
> The macro vma_premapped_start() returns uint64_t.
>
OK, applied.
More information about the CRIU
mailing list