Skip to content

Commit

Permalink
Fixed issue #4 (ambiguous subscript error).
Browse files Browse the repository at this point in the history
  • Loading branch information
rs70 committed Sep 13, 2022
1 parent a48c419 commit f94666f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WebSockets/Framing.swift
Expand Up @@ -518,7 +518,7 @@ fileprivate extension Data {
UInt8(key >> 8 & 255),
UInt8(key & 255)
]
self.withUnsafeMutableBytes { ptr in
self.withUnsafeMutableBytes { (ptr: UnsafeMutableRawBufferPointer) in
var index = range.startIndex
var maskIndex = 0
while index < range.endIndex {
Expand Down

0 comments on commit f94666f

Please sign in to comment.