Changeset: 13b4204975f4 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=13b4204975f4
Modified Files:
        sql/backends/monet5/generator/generator.c
Branch: generator
Log Message:

Minor compiler changes


diffs (12 lines):

diff --git a/sql/backends/monet5/generator/generator.c 
b/sql/backends/monet5/generator/generator.c
--- a/sql/backends/monet5/generator/generator.c
+++ b/sql/backends/monet5/generator/generator.c
@@ -612,7 +612,7 @@ float nextafterf(float x, float y);
        s = pci->argc == 3 ? 1:  *(TPE*) getArgReference(stk,p, 3);\
        if( s == 0 || (f<l && s < 0) || (f>l && s> 0)) \
                throw(MAL,"generator.thetasubselect","Illegal range");\
-       cap = (BUN)(ABS((lng)l-(lng)f)/ABS(s));\
+       cap = (BUN)(ABS(l-f)/ABS(s));\
        bn = BATnew(TYPE_void, TYPE_oid, cap, TRANSIENT);\
        if( bn == NULL)\
                throw(MAL,"generator.thetasubselect",MAL_MALLOC_FAIL);\
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to