Changeset: 9a8248613ca8 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9a8248613ca8
Modified Files:
        monetdb5/extras/rapi/rapi.c
Branch: RIntegration-default
Log Message:

RAPIeval(): match format string and type (cast) to please compilers


diffs (14 lines):

diff --git a/monetdb5/extras/rapi/rapi.c b/monetdb5/extras/rapi/rapi.c
--- a/monetdb5/extras/rapi/rapi.c
+++ b/monetdb5/extras/rapi/rapi.c
@@ -345,8 +345,8 @@ str RAPIeval(Client cntxt, MalBlkPtr mb,
                // check the BAT count, if it is bigger than RAPI_MAX_TUPLES, 
fail
                if (BATcount(b) > RAPI_MAX_TUPLES) {
                        msg = createException(MAL, "rapi.eval",
-                                       "Got "BUNFMT" rows, but can only handle 
"BUNFMT". Sorry.",
-                                       BATcount(b), RAPI_MAX_TUPLES);
+                                       "Got "BUNFMT" rows, but can only handle 
"LLFMT". Sorry.",
+                                       BATcount(b), (lng) RAPI_MAX_TUPLES);
                        goto wrapup;
                }
                varname = PROTECT(Rf_install(args[i]));
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to