Changeset: 3299a58eb284 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3299a58eb284
Modified Files:
        monetdb5/modules/mal/mosaic_dictionary.c
Branch: mosaic
Log Message:

Use the proper type for the scratch dictionary


diffs (12 lines):

diff --git a/monetdb5/modules/mal/mosaic_dictionary.c 
b/monetdb5/modules/mal/mosaic_dictionary.c
--- a/monetdb5/modules/mal/mosaic_dictionary.c
+++ b/monetdb5/modules/mal/mosaic_dictionary.c
@@ -103,7 +103,7 @@ MOSskip_dictionary(Client cntxt, MOStask
 
 #define estimateDict(TPE)\
 {      TPE *val = (TPE*)task->src;\
-       TPE *dict = (TPE*)GDKzalloc(sizeof(int) * task->dictsize);\
+       TPE *dict = (TPE*)GDKzalloc(sizeof(TPE) * task->dictsize);\
        if( dict== NULL)\
                return 1.0;\
        for(i =0; i<task->elm; i++, val++){\
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to