diff options
author | 2012-02-17 10:26:51 +0000 | |
---|---|---|
committer | 2012-02-17 10:26:51 +0000 | |
commit | 5b0924d6fa1724051789db9311030af325e9ecf2 (patch) | |
tree | 3e0b2e9f67ac4707bb4a178bd0690df4ef9bdabf /src/lib/util/hashing.c | |
parent | b6bf294ed35f5d9c0264323afd44417f035757d8 (diff) |
Fix char_to_hex upper chars, this fixes listxml output (no whatsnew)
Diffstat (limited to 'src/lib/util/hashing.c')
-rw-r--r-- | src/lib/util/hashing.c | 2 |
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; } |