Commit 55f1d031 authored by Vít Kabele's avatar Vít Kabele

Fixed ssize_t and size_t mismatch.

parent 01ff442d
......@@ -86,7 +86,7 @@ __alloc_buffer (size_t len) {
/**
* Receives a message from the remote instrumentation server.
*/
ssize_t
size_t
message_recv (struct connection * conn, void ** message_ptr) {
assert (conn != NULL);
assert (message_ptr != NULL);
......
......@@ -4,6 +4,6 @@
#include "connection.h"
ssize_t message_send (struct connection * conn, void * message, const size_t message_size);
ssize_t message_recv (struct connection * conn, void ** message_ptr);
size_t message_recv (struct connection * conn, void ** message_ptr);
#endif /* _MSGCHANNEL_H_ */
Markdown is supported
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