Skip to content

Commit

Permalink
Fixed compiler warning picked up by Xcode 11.1 compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
cnoon committed Oct 25, 2019
1 parent 9d774ff commit 7b406d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Connection/Functions/Function.swift
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ extension Connection {
let text = bindingDateFormatter.string(from: date)
sqlite3_result_text64(context, text, UInt64(text.utf8.count), SQLITE_TRANSIENT, UInt8(SQLITE_UTF8))

case .data(var data):
case .data(let data):
data.withUnsafeBytes {
sqlite3_result_blob64(context, $0.bindMemory(to: UInt8.self).baseAddress, UInt64(data.count), SQLITE_TRANSIENT)
}
Expand Down

0 comments on commit 7b406d5

Please sign in to comment.