Commit 5f65ee6a authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #2542 from jbrianceau/fix-embed-cc-warning

Fix warning in compiler/js/embed.cc
parents f52e188f 05b019ae
......@@ -48,7 +48,7 @@ static char ToDecimalDigit(int num) {
static std::string CEscape(const std::string& str) {
std::string dest;
for (int i = 0; i < str.size(); ++i) {
for (size_t i = 0; i < str.size(); ++i) {
unsigned char ch = str[i];
switch (ch) {
case '\n': dest += "\\n"; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment