From a0c07ef863ffe31cb7f71472d22cefa713edc61a Mon Sep 17 00:00:00 2001 From: pgkos Date: Tue, 22 Jan 2019 22:39:53 +0100 Subject: Fix wrong integer types in odbcsql and db_odbc (#10419) * Fix wrong parameter type in SQLErr * Fix wrong types of integers passed to SQLGetData --- lib/wrappers/odbcsql.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/wrappers/odbcsql.nim') diff --git a/lib/wrappers/odbcsql.nim b/lib/wrappers/odbcsql.nim index 3b022290b..6a27d8355 100644 --- a/lib/wrappers/odbcsql.nim +++ b/lib/wrappers/odbcsql.nim @@ -830,7 +830,7 @@ proc SQLStatistics*(hstmt: SqlHStmt, CatalogName: PSQLCHAR, proc SQLErr*(henv: SqlHEnv, hdbc: SqlHDBC, hstmt: SqlHStmt, szSqlState, pfNativeError, szErrorMsg: PSQLCHAR, cbErrorMsgMax: TSqlSmallInt, - pcbErrorMsg: PSQLINTEGER): TSqlSmallInt {. + pcbErrorMsg: PSQLSMALLINT): TSqlSmallInt {. dynlib: odbclib, importc: "SQLError".} {.pop.} -- cgit 1.4.1-2-gfad0