aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/misc_log_ex.h
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2016-01-03 11:57:35 +0000
committerHoward Chu <hyc@symas.com>2016-01-03 11:57:35 +0000
commita561afa18b5e0bf82c890d99fb0caafaee2da80c (patch)
tree1fcdf01316281adba54a334f033bf7421b978000 /contrib/epee/include/misc_log_ex.h
parentUse CMAKE_LINKER, not hardcoded "ld" (diff)
downloadmonero-a561afa18b5e0bf82c890d99fb0caafaee2da80c.tar.xz
ARM chars are unsigned
Diffstat (limited to 'contrib/epee/include/misc_log_ex.h')
-rw-r--r--contrib/epee/include/misc_log_ex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/misc_log_ex.h b/contrib/epee/include/misc_log_ex.h
index b4ba4b7e8..d1451ff12 100644
--- a/contrib/epee/include/misc_log_ex.h
+++ b/contrib/epee/include/misc_log_ex.h
@@ -419,7 +419,7 @@ namespace log_space
std::string buf(buffer, buffer_len);
for(size_t i = 0; i!= buf.size(); i++)
{
- if(buf[i] == 7 || buf[i] == -107)
+ if(buf[i] == 7 || (buf[i]&0xff) == 0x95)
buf[i] = '^';
}