qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v6 1/2] Implement .hex file loader


From: Su Hang
Subject: Re: [Qemu-devel] [PATCH v6 1/2] Implement .hex file loader
Date: Mon, 7 May 2018 17:27:17 +0800 (GMT+08:00)

> > +    size_t total_size = 0;
> 
> Please use int instead of size_t (see above for reasons).
I have question here:
Since `EXT_LINEAR_ADDR_RECORD` supports 32 bit addressing (up to 4GiB), is `int`
big enough for this type?
The same question will happen to other similar cases.
Or should I use `long long` instead of `int`?

Su Hang

reply via email to

[Prev in Thread] Current Thread [Next in Thread]