Commit 1b45aa19 authored by Joshua Supra's avatar Joshua Supra
Browse files

solved segmentation fault

parent 73f9ddec
......@@ -64,7 +64,7 @@ int FunctionCall(zmq_data *zmq_data_struct){
FunctionNumber = zmq_data_struct->data[1];
//printf("bytes: %d\n", zmq_data_struct->NrOfBytes);
//printf("func nr: %.8x\n", FunctionNumber);
zmq_data_struct->data +=4;
//zmq_data_struct->data +=4;
for(int i = 0; i < ((zmq_data_struct->NrOfBytes)>>2)-2; i++){
funcArg[i] = *(unsigned int *)zmq_data_struct->data;
//printf("%d ", funcArg[i]);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment