Mercurial > hg > MonetDB
changeset 86131:1894e3d3eaa2
Use known type to print.
| author | Sjoerd Mullender <sjoerd@acm.org> |
|---|---|
| date | Wed, 20 Jul 2022 16:31:06 +0200 |
| parents | 75a75d556a2c |
| children | 786ade607ae4 |
| files | clients/odbc/tests/ODBCStmtAttr.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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"; } }
