diff MasterLoop.c @ 69:11bfe9d136ed

removed warnings
author Merten Sach <msach@mailbox.tu-berlin.de>
date Wed, 11 May 2011 16:13:24 +0200
parents 9c3107044f86
children f9b60012fd74 5ff1631c26ed
line diff
     1.1 --- a/MasterLoop.c	Sat Nov 20 08:19:05 2010 +0100
     1.2 +++ b/MasterLoop.c	Wed May 11 16:13:24 2011 +0200
     1.3 @@ -87,7 +87,7 @@
     1.4     volatile        VirtProcr *volatileMasterPr;
     1.5     
     1.6     volatileMasterPr = animatingPr;
     1.7 -   masterPr         = volatileMasterPr; //used to force re-define after jmp
     1.8 +   masterPr         = (VirtProcr*)volatileMasterPr; //used to force re-define after jmp
     1.9  
    1.10        //First animation of each MasterVP will in turn animate this part
    1.11        // of setup code.. (VP creator sets up the stack as if this function
    1.12 @@ -114,10 +114,10 @@
    1.13     #endif
    1.14     //========================================================================
    1.15  
    1.16 -   masterEnv        = _VMSMasterEnv;
    1.17 +   masterEnv        = (MasterEnv*)_VMSMasterEnv;
    1.18     
    1.19        //GCC may optimize so doesn't always re-define from frame-storage
    1.20 -   masterPr         = volatileMasterPr;  //just to make sure after jmp
    1.21 +   masterPr         = (VirtProcr*)volatileMasterPr;  //just to make sure after jmp
    1.22     thisCoresIdx     = masterPr->coreAnimatedBy;
    1.23     readyToAnimateQ  = masterEnv->readyToAnimateQs[thisCoresIdx];
    1.24     schedSlots       = masterEnv->allSchedSlots[thisCoresIdx];