[CRIU] [PATCH 10/20] cr-restore.c: introduced the multiarch support.

Alexander Kartashov alekskartashov at parallels.com
Wed Dec 12 11:50:15 EST 2012


> Wait, Alexander, is there such type as "long long int" on ARM machines?

Yes, and it's 64-bit long. PRix64 is defined as "%llx" on ARM.

On 12/12/2012 08:48 PM, Cyrill Gorcunov wrote:
> On Wed, Dec 12, 2012 at 08:28:48PM +0400, Alexander Kartashov wrote:
>>> WTF is that? It's just unsigned long printing, why this ugly format hacks?!
>> Unfortunately, almost all format strings have to be fixed in this way.
>> In this case vma->vma.start is 64-bit long but %lx on ARM expects
>> 32-bit interger.
> Wait, Alexander, is there such type as "long long int" on ARM machines?
>
> 	Cyrill


-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list