[Bug 39693] New: SQLBindCol wrong declaration
https://bugs.winehq.org/show_bug.cgi?id=39693 Bug ID: 39693 Summary: SQLBindCol wrong declaration Product: Wine Version: 1.8-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: odbc Assignee: wine-bugs(a)winehq.org Reporter: blake1024(a)gmail.com Distribution: --- When I use SQLBindCol under 64 bit Wine, I get: Database.c: In function ‘pReadAllTables’: Database.c:574:3: warning: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [enabled by default] r = SQLBindCol(stmt, 2, SQL_C_CHAR, owner, (int)sizeof(owner) - 1, &pcbValueOwner); ^ In file included from Database.d:39:0: /usr/include/wine/windows/sql.h:507:20: note: expected ‘SQLINTEGER *’ but argument is of type ‘SQLLEN *’ It compiles without warnings under Windows 32 and 64 bit. Microsoft docs state that that argument is SQLLEN * Blake McBride -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39693 Blake McBride <blake1024(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blake1024(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39693 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Thanks, I'll take a look. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39693 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|SQLBindCol wrong |SQLBindCol prototype is |declaration |wrong Ever confirmed|0 |1 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Here's a fix for that - https://www.winehq.org/pipermail/wine-patches/2015-November/144943.html. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39693 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |bd4cb88e6b1ad784747548145cf | |7c7931a20757d Status|NEW |RESOLVED CC| |infyquest(a)gmail.com Resolution|--- |FIXED --- Comment #3 from Vijay Kamuju <infyquest(a)gmail.com> --- Fixed by commit bd4cb88e6b1ad784747548145cf7c7931a20757d -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39693 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.8-rc3. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org