changed to long long for windows
This commit is contained in:
parent
170c141576
commit
2cb7e67df8
8 changed files with 17 additions and 17 deletions
|
|
@ -43,9 +43,9 @@ int main(int argc, char **argv) {
|
|||
std::string ignoreNotConnectedHelp{"Ignore connection errors"};
|
||||
hoymilesClient.add_flag<bool>("-I,--ignore_conn_error", ignoreNotConnected, ignoreNotConnectedHelp);
|
||||
|
||||
std::vector<long> microinvertersToGet{};
|
||||
std::vector<long long> microinvertersToGet{};
|
||||
std::string microinvertersToGetHelp{"List of microinverters to fetch, if omitted all are fetched, delimited by ','"};
|
||||
hoymilesClient.add_option<std::vector<long>>("-m,--microinverters", microinvertersToGet, microinvertersToGetHelp)->delimiter(',');
|
||||
hoymilesClient.add_option<std::vector<long long>>("-m,--microinverters", microinvertersToGet, microinvertersToGetHelp)->delimiter(',');
|
||||
|
||||
try {
|
||||
hoymilesClient.parse(argc, argv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue