[Bug 39693] New: SQLBindCol wrong declaration

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 28 15:32:36 CST 2015


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 at winehq.org
          Reporter: blake1024 at 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.


More information about the wine-bugs mailing list