Re: [Qemu-devel] [PATCH for-1.4 v2 1/5] qtest: Use strtoull() for uint64_t

2013-02-08 Thread Anthony Liguori
Andreas Färber writes: > On 32-bit hosts, unsigned long may be uint32_t and uint64_t may be > unsigned long long. Account for this by always using strtoull(). > We were already using strtoll() for int64_t. > > Signed-off-by: Andreas Färber Reviewed-by: Anthony Liguori Regards, Anthony Liguor

[Qemu-devel] [PATCH for-1.4 v2 1/5] qtest: Use strtoull() for uint64_t

2013-02-06 Thread Andreas Färber
On 32-bit hosts, unsigned long may be uint32_t and uint64_t may be unsigned long long. Account for this by always using strtoull(). We were already using strtoll() for int64_t. Signed-off-by: Andreas Färber --- qtest.c |8 1 Datei geändert, 4 Zeilen hinzugefügt(+), 4 Zeilen entfernt