Changeset: 15b6cbd3507e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=15b6cbd3507e
Modified Files:
        clients/odbc/driver/SQLGetConnectAttr.c
Branch: Oct2014
Log Message:

Add cast for printf.


diffs (13 lines):

diff --git a/clients/odbc/driver/SQLGetConnectAttr.c 
b/clients/odbc/driver/SQLGetConnectAttr.c
--- a/clients/odbc/driver/SQLGetConnectAttr.c
+++ b/clients/odbc/driver/SQLGetConnectAttr.c
@@ -201,7 +201,8 @@ SQLGetConnectAttrW(SQLHDBC ConnectionHan
        ODBCLOG("SQLGetConnectAttrW " PTRFMT " %s " PTRFMT " %d " PTRFMT "\n",
                PTRFMTCAST ConnectionHandle,
                translateConnectAttribute(Attribute),
-               PTRFMTCAST ValuePtr, BufferLength, PTRFMTCAST StringLengthPtr);
+               PTRFMTCAST ValuePtr, (int) BufferLength,
+               PTRFMTCAST StringLengthPtr);
 #endif
 
        if (!isValidDbc(dbc))
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to