Changeset: 7d3d7d30f267 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7d3d7d30f267
Modified Files:
clients/odbc/driver/ODBCUtil.c
Branch: Oct2014
Log Message:
unsigned short gets promoted to int, not unsigned int.
diffs (12 lines):
diff --git a/clients/odbc/driver/ODBCUtil.c b/clients/odbc/driver/ODBCUtil.c
--- a/clients/odbc/driver/ODBCUtil.c
+++ b/clients/odbc/driver/ODBCUtil.c
@@ -1444,7 +1444,7 @@ translateStmtOption(SQLUSMALLINT Option)
case SQL_ROW_NUMBER:
return "SQL_ROW_NUMBER";
default:
- snprintf(unknown, sizeof(unknown), "unknown (%u)", Option);
+ snprintf(unknown, sizeof(unknown), "unknown (%u)", (unsigned
int) Option);
return unknown;
}
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list