Changeset: 13cefaaa79da for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=13cefaaa79da
Modified Files:
clients/odbc/driver/SQLGetConnectAttr.c
Branch: Oct2014
Log Message:
Add cast.
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
@@ -156,7 +156,8 @@ SQLGetConnectAttr(SQLHDBC ConnectionHand
ODBCLOG("SQLGetConnectAttr " PTRFMT " %s " PTRFMT " %d " PTRFMT "\n",
PTRFMTCAST ConnectionHandle,
translateConnectAttribute(Attribute),
- PTRFMTCAST ValuePtr, BufferLength, PTRFMTCAST StringLengthPtr);
+ PTRFMTCAST ValuePtr, (int) BufferLength,
+ PTRFMTCAST StringLengthPtr);
#endif
if (!isValidDbc((ODBCDbc *) ConnectionHandle))
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list