qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jes Sorensen <Jes.Sorensen@redhat.com>
To: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Cc: Kevin Wolf <kwolf@redhat.com>, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] cutils: Use int64_t instead of ssize_t for strtosz()
Date: Mon, 10 Jan 2011 11:33:36 +0100	[thread overview]
Message-ID: <4D2AE080.9030507@redhat.com> (raw)
In-Reply-To: <1294655380-9857-1-git-send-email-stefanha@linux.vnet.ibm.com>

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 :)

Cheers,
Jes

  reply	other threads:[~2011-01-10 10:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10 10:29 [Qemu-devel] [PATCH] cutils: Use int64_t instead of ssize_t for strtosz() Stefan Hajnoczi
2011-01-10 10:33 ` Jes Sorensen [this message]
2011-01-10 10:50   ` [Qemu-devel] " Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D2AE080.9030507@redhat.com \
    --to=jes.sorensen@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).