Changeset: ee293037e79c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ee293037e79c
Modified Files:
        monetdb5/extras/rapi/converters.c
Branch: embedded
Log Message:

Making strict happier


diffs (21 lines):

diff --git a/monetdb5/extras/rapi/converters.c 
b/monetdb5/extras/rapi/converters.c
--- a/monetdb5/extras/rapi/converters.c
+++ b/monetdb5/extras/rapi/converters.c
@@ -79,8 +79,6 @@
                BATsettrivprop(b);                                              
                                                \
        } while (0)
 
-//#define CONVERT_OLDSCHOOL
-
 static SEXP bat_to_sexp(BAT* b) {
        SEXP varvalue = NULL;
        // TODO: deal with SQL types (DECIMAL/DATE)
@@ -125,7 +123,7 @@ static SEXP bat_to_sexp(BAT* b) {
                                }
                                BATloop(b, p, q) {
                                        const char *t = (const char *) 
BUNtail(li, p);
-                                       void** s = &sexp_ptrs[t - 
b->T->vheap->base];
+                                       void** s = sexp_ptrs + (t - 
b->T->vheap->base) * sizeof(void*);
                                        if (!*s) {
                                                if (strcmp(t, str_nil) == 0) {
                                                        *s = (void*) NA_STRING;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to