Changeset: 367532d75082 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=367532d75082
Modified Files:
tools/monetdbe/monetdbe_mapi.c
Branch: default
Log Message:
Add casts.
diffs (21 lines):
diff --git a/tools/monetdbe/monetdbe_mapi.c b/tools/monetdbe/monetdbe_mapi.c
--- a/tools/monetdbe/monetdbe_mapi.c
+++ b/tools/monetdbe/monetdbe_mapi.c
@@ -58,7 +58,7 @@ mapi_fetch_row(MapiHdl hdl)
{
int n = 0;
if (hdl && hdl->current_row < hdl->result->nrows) {
- n = ++hdl->current_row;
+ n = (int) ++hdl->current_row;
}
return n;
}
@@ -226,7 +226,7 @@ int
mapi_get_field_count(MapiHdl hdl)
{
if (hdl) {
- return hdl->result->ncols;
+ return (int) hdl->result->ncols;
}
return 0;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list