Showing
5 changed files
with
6 additions
and
1 deletions
| ... | ... | @@ -29,6 +29,7 @@ |
| 29 | 29 | #include "trio.h" |
| 30 | 30 | |
| 31 | 31 | #include "tr/comm_end_point.h" |
| 32 | +#include "tr/protocol.h" | |
| 32 | 33 | #include "tr/interface/comm_end_point.h" |
| 33 | 34 | |
| 34 | 35 | static |
| ... | ... | @@ -38,7 +39,7 @@ commEndPointCtor(void * _this, va_list * params) |
| 38 | 39 | TR_CommEndPoint this = _this; |
| 39 | 40 | |
| 40 | 41 | this->transport = va_arg(*params, TR_Socket); |
| 41 | - this->protocol = va_arg(*params, void *); | |
| 42 | + this->protocol = va_arg(*params, TR_Protocol); | |
| 42 | 43 | this->read_chunk_size = va_arg(*params, int); |
| 43 | 44 | this->do_close = 0; |
| 44 | 45 | this->read_buffer = TR_new(TR_Queue); | ... | ... |
Please
register
or
login
to post a comment