Revision 4be403c8 monitor.c
b/monitor.c | ||
---|---|---|
3259 | 3259 |
break; |
3260 | 3260 |
default: |
3261 | 3261 |
errno = 0; |
3262 |
#if TARGET_PHYS_ADDR_BITS > 32 |
|
3263 | 3262 |
n = strtoull(pch, &p, 0); |
3264 |
#else |
|
3265 |
n = strtoul(pch, &p, 0); |
|
3266 |
#endif |
|
3267 | 3263 |
if (errno == ERANGE) { |
3268 | 3264 |
expr_error(mon, "number too large"); |
3269 | 3265 |
} |
Also available in: Unified diff