Skip to content

Commit 450f8ed

Browse files
committed
Fix partition ID truncation on Windows
Fixes #225
1 parent 8f349d4 commit 450f8ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ namespace cli {
422422
template<typename T>
423423
static std::string parse_string(std::string value, T& out) {
424424
size_t pos = 0;
425-
long lvalue = std::numeric_limits<long>::max();
425+
uint64_t lvalue = std::numeric_limits<uint64_t>::max();
426426
int64_t base = 10;
427427
if (value.find("0x") == 0) {
428428
value = value.substr(2);

0 commit comments

Comments
 (0)