diff options
author | Howard Chu <hyc@symas.com> | 2016-01-03 11:57:35 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2016-01-03 11:57:35 +0000 |
commit | a561afa18b5e0bf82c890d99fb0caafaee2da80c (patch) | |
tree | 1fcdf01316281adba54a334f033bf7421b978000 /contrib/epee/include/misc_log_ex.h | |
parent | Use CMAKE_LINKER, not hardcoded "ld" (diff) | |
download | monero-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.h | 2 |
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] = '^'; } |