Skip to content

Commit

Permalink
Fixing bracket placement
Browse files Browse the repository at this point in the history
  • Loading branch information
GWlodarek committed Aug 22, 2016
1 parent a317eb9 commit 754aa87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/IBMDB/SwiftDB2.swift
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,9 @@ public class Connection {
switch Int(col_data_type_fetch(Int32(col), result)) {
default:
#if os(Linux)
let dict:DB2Dictionary = ["\(col_name)": String(value)].bridge()
let dict:DB2Dictionary = ["\(col_name)": String(value).bridge()]
#else
let dict:DB2Dictionary = [col_name : String(value) as AnyObject]
let dict:DB2Dictionary = ["\(col_name)" : String(value) as AnyObject]
#endif

return dict
Expand Down

0 comments on commit 754aa87

Please sign in to comment.