Browse Source

Merge branch 'rpc_longreply' into bfgminer

Luke Dashjr 12 years ago
parent
commit
bd2923f20f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api.c

+ 1 - 1
api.c

@@ -600,7 +600,7 @@ size_t io_flush(struct io_data *io_data, bool complete)
 		if (select(io_data->sock + 1, NULL, &wd, NULL, &tv) < 1)
 			break;
 		
-		n = send(io_data->sock, &bytes_buf(&io_data->data)[sent], tosend, 0);
+		n = send(io_data->sock, (void*)&bytes_buf(&io_data->data)[sent], tosend, 0);
 		if (SOCKETFAIL(n))
 		{
 			if (!sock_blocks())