Skip to content

Commit

Permalink
fix bug in hexString
Browse files Browse the repository at this point in the history
  • Loading branch information
paulofaria committed May 24, 2017
1 parent fc70e48 commit 40b9fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Core/Buffer/Buffer.swift
Expand Up @@ -99,7 +99,7 @@ extension Collection where Iterator.Element == UInt8 {
var string = ""

for byte in self {
if byte <= 9 {
if byte < 0x10 {
string += "0"
}

Expand Down

0 comments on commit 40b9fb3

Please sign in to comment.