Skip to content
Snippets Groups Projects
Commit f0ea2e27 authored by Daniela Genius's avatar Daniela Genius
Browse files

enleve cast inutile

parent fa0b3744
No related branches found
No related tags found
No related merge requests found
......@@ -113,8 +113,8 @@ void destroyAsyncchannel(asyncchannel *asyncch) {
debugInt("asyncchannel address \n",channel->mwmr_fifo);
debugInt("asyncchannel \n",channel->mwmr_fifo->depth);
debugInt("asyncchannel \n",channel->mwmr_fifo->width);
debugInt("asyncchannel msg size \n",sizeof(*msg));
async_read(channel->mwmr_fifo, &msg, sizeof(*msg));//DG 13.6. *msg au lieu de msg
debugInt("asyncchannel msg size \n",sizeof(msg));
async_read(channel->mwmr_fifo, &msg, sizeof(msg));//DG 13.6. *msg au lieu de msg
return msg;
}
......@@ -134,6 +134,6 @@ void addMessageToAsyncChannel(asyncchannel *channel, message *msg) {
debugInt("asyncchannel->fifo rptr \n", channel->mwmr_fifo->status->rptr);
debugInt("asyncchannel->fifo wptr \n", channel->mwmr_fifo->status->wptr);
//async_write(channel->mwmr_fifo, &msg, 1 );
debugInt("asyncchannel msg size \n",sizeof(*msg));
async_write(channel->mwmr_fifo, &msg, sizeof(*msg));//DG 13.6. *msg au lieu de msg
debugInt("asyncchannel msg size \n",sizeof(msg));
async_write(channel->mwmr_fifo, &msg, sizeof(msg));//DG 13.6. *msg au lieu de msg
}
......@@ -132,8 +132,10 @@ public class TopCellGenerator
// of memory accesses other than channel
for (AvatarConnector connector : avatardd.getConnectors()){
AvatarConnectingPoint my_p1= (AvatarConnectingPoint)connector.get_p1();
AvatarConnectingPoint my_p2= (AvatarConnectingPoint)connector.get_p2();
// AvatarConnectingPoint my_p1= (AvatarConnectingPoint)connector.get_p1();
//AvatarConnectingPoint my_p2= (AvatarConnectingPoint)connector.get_p2();
AvatarConnectingPoint my_p1= connector.get_p1();
AvatarConnectingPoint my_p2= connector.get_p2();
//If a spy glass symbol is found, and component itself not yet marked
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment