Changeset: e42d60086bf8 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e42d60086bf8
Modified Files:
gdk/gdk_heap.mx
Branch: Apr2011
Log Message:
Explicitly cast a ptrdiff_t to int to prevent warnings.
We assume it fits...
diffs (12 lines):
diff --git a/gdk/gdk_heap.mx b/gdk/gdk_heap.mx
--- a/gdk/gdk_heap.mx
+++ b/gdk/gdk_heap.mx
@@ -152,7 +152,7 @@
}
if (!e)
e = hc->hc;
- i = e - hc->hc;
+ i = (int) (e - hc->hc);
if (e->maxsz < *maxsz) {
/* resize file ? */
FILE *fp;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list