From: Maxim Mamontov Date: Thu, 27 Jan 2011 11:13:04 +0000 (+0200) Subject: Додано приведення типу X-Git-Tag: 2.407-rc3~192 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/ecb3811b1ae00eb71bb1f27acbd2c6de651dc6ab Додано приведення типу --- 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;