diff options
author | Andreas Färber <afaerber@suse.de> | 2013-02-11 17:41:53 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-11 13:22:39 -0600 |
commit | 5dd6be069bf832f888005d28cebdec16720dedac (patch) | |
tree | fa67067f6eecf9dabb95ff16bbfa0d45b1f17bac /readline.c | |
parent | 84eac31707a8f103cc9a0b38ab62a8832bec1153 (diff) |
qtest: Use strtoull() for uint64_t
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 <afaerber@suse.de>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1360600914-5448-2-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'readline.c')
0 files changed, 0 insertions, 0 deletions