Changeset: d5e473af209c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d5e473af209c
Modified Files:
        sql/backends/monet5/iot/basket.c
        sql/backends/monet5/iot/petrinet.c
        sql/backends/monet5/iot/petrinet.h
Branch: iot
Log Message:

Compilation issues


diffs (45 lines):

diff --git a/sql/backends/monet5/iot/basket.c b/sql/backends/monet5/iot/basket.c
--- a/sql/backends/monet5/iot/basket.c
+++ b/sql/backends/monet5/iot/basket.c
@@ -316,7 +316,7 @@ BSKTgetwindow(Client cntxt, MalBlkPtr mb
        idx = BSKTlocate(sch, tbl);
        if( idx == 0)
                throw(SQL,"basket.window","Stream table %s.%s not 
accessible\n",sch,tbl);
-       *ret = baskets[idx].winsize;
+       *ret = (int) baskets[idx].winsize;
        return MAL_SUCCEED;
 }
 
diff --git a/sql/backends/monet5/iot/petrinet.c 
b/sql/backends/monet5/iot/petrinet.c
--- a/sql/backends/monet5/iot/petrinet.c
+++ b/sql/backends/monet5/iot/petrinet.c
@@ -104,7 +104,7 @@ str PNperiod(Client cntxt, MalBlkPtr mb,
 }
 
 str
-PNheartbeat(str mod, str fcn, int ticks)
+PNheartbeat(str mod, str fcn, lng ticks)
 {
        int i;
 
@@ -364,7 +364,7 @@ PNstop(void){
        } while(limit-- > 0 && cnt);
 
        if( limit == 0)
-       for(i = pnnettop-1; i >= pnettop; i--)
+       for(i = pnettop-1; i >= pnettop; i--)
        if( pnet[i].client )
                PNderegisterInternal(i);
 
diff --git a/sql/backends/monet5/iot/petrinet.h 
b/sql/backends/monet5/iot/petrinet.h
--- a/sql/backends/monet5/iot/petrinet.h
+++ b/sql/backends/monet5/iot/petrinet.h
@@ -44,7 +44,7 @@ iot_export str PNcycles(Client cntxt, Ma
 iot_export str PNshow(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
 iot_export str PNstop(void);
 iot_export str PNdump(void *ret);
-iot_export str PNheartbeat(str mod, str fcn, int ticks);
+iot_export str PNheartbeat(str mod, str fcn, lng ticks);
 
 iot_export str PNperiod(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr 
pci);
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to