Skip to content

Commit

Permalink
Merge pull request #54 from hpux735/master
Browse files Browse the repository at this point in the history
Type coersion for 32-bit platforms
  • Loading branch information
hpux735 authored Sep 20, 2016
2 parents e942086 + 598cc27 commit 3f53190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MySQL/Connection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public final class Connection {
// Prepares the created statement
// This parses `?` in the query and
// prepares them to attach parameterized bindings.
guard mysql_stmt_prepare(statement, query, strlen(query)) == 0 else {
guard mysql_stmt_prepare(statement, query, UInt(strlen(query))) == 0 else {
throw Error.prepare(error)
}

Expand Down

0 comments on commit 3f53190

Please sign in to comment.