X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ecb3811b1ae00eb71bb1f27acbd2c6de651dc6ab..fdfb7497dea6cc94a44133ef19e953ced167e855:/projects/stargazer/settings.cpp diff --git a/projects/stargazer/settings.cpp b/projects/stargazer/settings.cpp index 84de336b..7aa2950f 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, static_cast(&executersNum)) != 0) + if (ParseUnsignedInRange(node->getValue(0), 1, 1024, &executersNum) != 0) { strError = "Incorrect ExecutersNum value: \'" + string(node->getValue(0)) + "\'"; return -1;