Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13835/MonetDB5/src/mal
Modified Files:
Tag: MonetDB_5-4
mal_module.mx
Log Message:
(sorry, forgot to check optimized compilation before previous checkin)
fix to avoid comparison between signed and unsigned
Index: mal_module.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_module.mx,v
retrieving revision 1.66.2.2
retrieving revision 1.66.2.3
diff -u -d -r1.66.2.2 -r1.66.2.3
--- mal_module.mx 7 Feb 2008 18:03:07 -0000 1.66.2.2
+++ mal_module.mx 8 Feb 2008 00:26:21 -0000 1.66.2.3
@@ -629,8 +629,7 @@
InstrPtr sig;
Module list[256]; int k, top=0, ftop, fnd;
InstrPtr fcn[5000];
- int r,c,*x = NULL;
- size_t x_sze = 0;
+ int r, c, *x = NULL, x_sze = 0;
if(s==NULL || f==NULL){
@@ -686,7 +685,7 @@
for (r = 0; r < rows; r++) {
int i = (cols * r) + c - 1;
if (z < ftop &&
- (x[i] < 0 || strlen(getModuleId(fcn[x[i]]))
+ strlen(getFunctionId(fcn[x[i]])) < 80 / cols)) {
+ (x[i] < 0 || strlen(getModuleId(fcn[x[i]]))
+ strlen(getFunctionId(fcn[x[i]])) < (size_t)(80 / cols))) {
x[i+1] = z++;
} else {
/* HACK to avoid long names running
into next column in printed version */
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins