Module: sems
Branch: master
Commit: 129d8f03cbe570fc21a0de57713adf26e5f10ce0
URL: 
https://github.com/sems-server/sems/commit/129d8f03cbe570fc21a0de57713adf26e5f10ce0

Author: Juha Heinanen <j...@tutpro.com>
Committer: Juha Heinanen <j...@tutpro.com>
Date: 2015-12-26T09:59:06+02:00

dsm mod_utils: removed unnecessary cast

---

Modified: apps/dsm/mods/mod_utils/ModUtils.cpp

---

Diff:  
https://github.com/sems-server/sems/commit/129d8f03cbe570fc21a0de57713adf26e5f10ce0.diff
Patch: 
https://github.com/sems-server/sems/commit/129d8f03cbe570fc21a0de57713adf26e5f10ce0.patch

---

diff --git a/apps/dsm/mods/mod_utils/ModUtils.cpp 
b/apps/dsm/mods/mod_utils/ModUtils.cpp
index 3667f3e..cd00671 100644
--- a/apps/dsm/mods/mod_utils/ModUtils.cpp
+++ b/apps/dsm/mods/mod_utils/ModUtils.cpp
@@ -495,8 +495,7 @@ EXEC_ACTION_START(SCUGenSplitStringAction) {
       p = str.find(delim, last_p);
       if (p == string::npos) {
        if (last_p <= str.length())
-         sc_sess->var[varname + "[" + int2str((unsigned int)i) + "]"] =
-           str.substr(last_p);
+         sc_sess->var[varname + "[" + int2str(i) + "]"] = str.substr(last_p);
        break;
       }
       sc_sess->var[varname + "[" + int2str(i) + "]"] =

_______________________________________________
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to