]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings.cpp
Fix compilation issues for XML RPC interface
[stg.git] / projects / stargazer / settings.cpp
index 84de336bbb4277dba85697242c0584667c77a408..7aa2950fa4fa83a44570134dd715a41090a0bc3e 100644 (file)
@@ -317,7 +317,7 @@ while (node)
 
     if (strcasecmp(node->getName(), "ExecutersNum") == 0)
         {
-        if (ParseUnsignedInRange(node->getValue(0), 1, 1024, static_cast<unsigned *>(&executersNum)) != 0)
+        if (ParseUnsignedInRange(node->getValue(0), 1, 1024, &executersNum) != 0)
             {
             strError = "Incorrect ExecutersNum value: \'" + string(node->getValue(0)) + "\'";
             return -1;