Changeset: 7566f5b0a12a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/7566f5b0a12a
Modified Files:
        monetdb5/modules/mal/heapn.c
        monetdb5/modules/mal/pp_algebra.c
Branch: pp_hashjoin
Log Message:

one more cast


diffs (24 lines):

diff --git a/monetdb5/modules/mal/heapn.c b/monetdb5/modules/mal/heapn.c
--- a/monetdb5/modules/mal/heapn.c
+++ b/monetdb5/modules/mal/heapn.c
@@ -1006,7 +1006,7 @@ topn_grouped( size_t n, oid *pos, oid *s
                        }                               \
                }                                       \
        }                                               \
-       return j;                               \
+       return (int)j;                          \
 }                                                      \
 
 static int
diff --git a/monetdb5/modules/mal/pp_algebra.c 
b/monetdb5/modules/mal/pp_algebra.c
--- a/monetdb5/modules/mal/pp_algebra.c
+++ b/monetdb5/modules/mal/pp_algebra.c
@@ -527,7 +527,7 @@ mulmod(lng a, lng b, lng c)
                        overflow += (is_##T##_nil(a1)?(int)n1:0);               
        \
                        n2 = n1;                                                
        \
                } else if (!is_##T##_nil(a1)) {                                 
        \
-                   T t = a2 + a1;                                              
        \
+                       T t = a2 + a1;                                          
        \
                        if (fabs(a2) >= fabs(a1))                               
        \
                                e2 += (a2 - t) + a1;                            
        \
                        else                                                    
        \
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to