summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pugixml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 48aa8e1..dd26d7b 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -7580,8 +7580,8 @@ namespace pugi
char_t* ri = result;
- for (size_t i = 0; i < count; ++i)
- for (const char_t* bi = buffer[i].c_str(); *bi; ++bi)
+ for (size_t j = 0; j < count; ++j)
+ for (const char_t* bi = buffer[j].c_str(); *bi; ++bi)
*ri++ = *bi;
*ri = 0;