Skip to content

Commit ff1ee6a

Browse files
authored
Merge pull request #159 from pusher/fix-warnings
Fix warnings
2 parents 82aff9d + 051b3a0 commit ff1ee6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CryptoSwiftHMACModule.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ internal extension CSArrayType where Iterator.Element == UInt8 {
229229
internal func toHexString() -> String {
230230
return self.lazy.reduce("") {
231231
var s = String($1, radix: 16)
232-
if s.characters.count == 1 {
232+
if s.count == 1 {
233233
s = "0" + s
234234
}
235235
return $0 + s

0 commit comments

Comments
 (0)