X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/41cd057bb981b3dc00cc527485c48549a912cb2b..ecb3811b1ae00eb71bb1f27acbd2c6de651dc6ab:/projects/stargazer/settings.cpp?ds=inline diff --git a/projects/stargazer/settings.cpp b/projects/stargazer/settings.cpp index 7aa2950f..84de336b 100644 --- a/projects/stargazer/settings.cpp +++ b/projects/stargazer/settings.cpp @@ -317,7 +317,7 @@ while (node) if (strcasecmp(node->getName(), "ExecutersNum") == 0) { - if (ParseUnsignedInRange(node->getValue(0), 1, 1024, &executersNum) != 0) + if (ParseUnsignedInRange(node->getValue(0), 1, 1024, static_cast(&executersNum)) != 0) { strError = "Incorrect ExecutersNum value: \'" + string(node->getValue(0)) + "\'"; return -1;