Changeset: f6ace685cc96 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f6ace685cc96
Modified Files:
        monetdb5/extras/pyapi/pyapi.c
Branch: pythonudf
Log Message:

Unnecessary implicit cast.


diffs (21 lines):

diff --git a/monetdb5/extras/pyapi/pyapi.c b/monetdb5/extras/pyapi/pyapi.c
--- a/monetdb5/extras/pyapi/pyapi.c
+++ b/monetdb5/extras/pyapi/pyapi.c
@@ -390,7 +390,7 @@ Array of type %s no copying will be need
     temp_indices = GDKzalloc(sizeof(lng) * group_count);                       
   \
     for(element_it = 0; element_it < elements; element_it++) {                 
   \
         /*group of current element*/                                           
   \
-        lng group = aggr_group_arr[element_it];                                
   \
+        oid group = aggr_group_arr[element_it];                                
   \
         /*append current element to proper group*/                             
   \
         ptr[group][i][temp_indices[group]++] = batcontent[element_it];         
   \
     }                                                                          
   \
@@ -1156,7 +1156,7 @@ str PyAPIeval(Client cntxt, MalBlkPtr mb
                             temp_indices = GDKzalloc(sizeof(PyObject*) * 
group_count);
                             for(element_it = 0; element_it < elements; 
element_it++) {
                                 //group of current element
-                                lng group = aggr_group_arr[element_it]; 
+                                oid group = aggr_group_arr[element_it]; 
                                 //append current element to proper group
                                 ptr[group][i][temp_indices[group]++] = 
batcontent[element_it];
                             }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to