qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH] cutils: Use int64_t instead of ssize_t for


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] Re: [PATCH] cutils: Use int64_t instead of ssize_t for strtosz()
Date: Mon, 10 Jan 2011 10:50:11 +0000

On Mon, Jan 10, 2011 at 10:33 AM, Jes Sorensen <address@hidden> wrote:
> On 01/10/11 11:29, Stefan Hajnoczi wrote:
>> The strtosz() function parses byte count strings and converts K, M, G
>> units.  The ssize_t type is not appropriate because block devices need
>> 64-bit range even on 32-bit hosts.  Switch from ssize_t to int64_t.
>
> Hmmm I think this is identical to the patch I posted last week :)

Sorry for the duplication.  Someone on IRC discovered the issue and I
wrote up the patch this morning.  No worries :).

Stefan



reply via email to

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