about summary refs log tree commit diff homepage
path: root/lib/Core/Differentiator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Core/Differentiator.cpp')
-rw-r--r--lib/Core/Differentiator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/Differentiator.cpp b/lib/Core/Differentiator.cpp
index b0fc8caf..c68ec6d1 100644
--- a/lib/Core/Differentiator.cpp
+++ b/lib/Core/Differentiator.cpp
@@ -34,7 +34,7 @@ std::string quoted(const std::string& s) {
   return ss.str();
 }
 
-inline char hex(char c) {
+inline char hex(unsigned char c) {
     return (c < 10) ? '0' + c : 'a' + c - 10;
 }