Changeset: 1894e3d3eaa2 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1894e3d3eaa2
Modified Files:
        clients/odbc/tests/ODBCStmtAttr.c
Branch: default
Log Message:

Use known type to print.


diffs (12 lines):

diff --git a/clients/odbc/tests/ODBCStmtAttr.c 
b/clients/odbc/tests/ODBCStmtAttr.c
--- a/clients/odbc/tests/ODBCStmtAttr.c
+++ b/clients/odbc/tests/ODBCStmtAttr.c
@@ -87,7 +87,7 @@ StmtAttribute2name(SQLINTEGER attribute)
        case SQL_ATTR_QUERY_TIMEOUT:
                return "SQL_ATTR_QUERY_TIMEOUT";
        default:
-               fprintf(stderr, "StmtAttribute2name: Unexpected value %d\n", 
attribute);
+               fprintf(stderr, "StmtAttribute2name: Unexpected value %ld\n", 
(long) attribute);
                return "NOT YET IMPLEMENTED";
        }
 }
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to