Changeset: 52c50bca4e7f for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=52c50bca4e7f Modified Files: gdk/gdk_utils.mx Branch: default Log Message:
Merged from Apr2011 diffs (25 lines): diff --git a/gdk/gdk_utils.mx b/gdk/gdk_utils.mx --- a/gdk/gdk_utils.mx +++ b/gdk/gdk_utils.mx @@ -509,8 +509,8 @@ # ifdef SIZEOF_SIZE_T == SIZEOF_INT /* we can have more memory than a size_t can handle on a 32-bits * platform, so trim it down, if that is the case */ - if (size > (size_t)-1) - size = (size_t)-1; + if (size > 0xffffffff) + size = 0xffffffff; # endif _MT_npages = size / _MT_pagesize; } @@ -529,8 +529,8 @@ # ifdef SIZEOF_SIZE_T == SIZEOF_INT /* we can have more memory than a size_t can handle on a 32-bits * platform, so trim it down, if that is the case */ - if (size > (size_t)-1) - size = (size_t)-1; + if (size > 0xffffffff) + size = 0xffffffff; # endif _MT_npages = size / _MT_pagesize; } _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list