git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41cd057
)
Додано приведення типу
author
Maxim Mamontov
<faust@gts.dp.ua>
Thu, 27 Jan 2011 11:13:04 +0000
(13:13 +0200)
committer
Maxim Mamontov
<faust@gts.dp.ua>
Thu, 27 Jan 2011 11:13:04 +0000
(13:13 +0200)
projects/stargazer/settings.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/settings.cpp
b/projects/stargazer/settings.cpp
index 7aa2950fa4fa83a44570134dd715a41090a0bc3e..84de336bbb4277dba85697242c0584667c77a408 100644
(file)
--- 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<unsigned *>(&executersNum)
) != 0)
{
strError = "Incorrect ExecutersNum value: \'" + string(node->getValue(0)) + "\'";
return -1;