summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/hashing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/hashing.c')
-rw-r--r--src/lib/util/hashing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/hashing.c b/src/lib/util/hashing.c
index 866cec8fc0d..3935438bfcb 100644
--- a/src/lib/util/hashing.c
+++ b/src/lib/util/hashing.c
@@ -68,7 +68,7 @@ inline int char_to_hex(char c)
if (c >= 'a' && c <= 'f')
return 10 + c - 'a';
if (c >= 'A' && c <= 'F')
- return 10 + c - 'a';
+ return 10 + c - 'A';
return -1;
}