X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ecb3811b1ae00eb71bb1f27acbd2c6de651dc6ab..42c97c62f48cbdb0e991802ad61bdb4485b587b0:/projects/stargazer/settings.cpp?ds=inline 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;