Changeset: 15df0a2041b4 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=15df0a2041b4
Modified Files:
        monetdb5/modules/mal/remote.mx
Branch: Aug2011
Log Message:

use proper format types and type casts


diffs (23 lines):

diff --git a/monetdb5/modules/mal/remote.mx b/monetdb5/modules/mal/remote.mx
--- a/monetdb5/modules/mal/remote.mx
+++ b/monetdb5/modules/mal/remote.mx
@@ -1244,7 +1244,7 @@
                        "\"hnonil\":%d,"
                        "\"tnonil\":%d,"
                        "\"tdense\":%d,"
-                       "\"size\":" SZFMT ","
+                       "\"size\":" BUNFMT ","
                        "\"headsize\":" SZFMT ","
                        "\"tailsize\":" SZFMT ","
                        "\"theapsize\":" SZFMT
@@ -1256,8 +1256,8 @@
                        b->H->nonil, b->T->nonil,
                        b->tdense,
                        b->batCount,
-                       sendhead ? b->batCount * Hsize(b) : 0,
-                       b->batCount * Tsize(b),
+                       sendhead ? (size_t)b->batCount * Hsize(b) : 0,
+                       (size_t)b->batCount * Tsize(b),
                        sendtheap && b->batCount > 0 ? b->T->vheap->free : 0
                        );
 
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to