summaryrefslogtreecommitdiff
path: root/core/io
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-07 20:02:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-07 20:02:54 -0300
commitc99813dc38cc79b37529cdd98dc2bc2c3ff69edc (patch)
tree99ea11d3829bf296ea23941a83ebc61158028087 /core/io
parent7156aff16041ea56ff1f3aea2a622c130bcca7a9 (diff)
parentac9263c680076eed36887a681cb59fdcce6c6f73 (diff)
Merge pull request #1826 from eehrich/master
Reviewed compiler warnings: fixed some bugs and formal stuff. (2nd try)
Diffstat (limited to 'core/io')
-rw-r--r--core/io/resource_format_xml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_format_xml.cpp b/core/io/resource_format_xml.cpp
index 9de33e7ef3..3e625ba6fd 100644
--- a/core/io/resource_format_xml.cpp
+++ b/core/io/resource_format_xml.cpp
@@ -1850,7 +1850,7 @@ void ResourceFormatSaverXMLInstance::escape(String& p_str) {
p_str=p_str.replace(">","&lt;");
p_str=p_str.replace("'","&apos;");
p_str=p_str.replace("\"","&quot;");
- for (int i=1;i<32;i++) {
+ for (char i=1;i<32;i++) {
char chr[2]={i,0};
const char hexn[16]={'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'};