printf("receiving data from client (%d)\n",job->size);
data=DATA_OK;
- ret=network_receive_chan(net,channel,&d3l,sizeof(d3_lattice));
+ ret=network_receive_chan(net,channel,(unsigned char *)&d3l,
+ sizeof(d3_lattice));
network_send_chan(net,channel,&data,sizeof(unsigned char));
printf("debug: got d3_lattice\n");
- ret=network_receive_chan(net,channel,&info,sizeof(info));
+ ret=network_receive_chan(net,channel,(unsigned char *)&info,sizeof(info));
network_send_chan(net,channel,&data,sizeof(unsigned char));
printf("debug: got info\n");