From 4e46e666e47e277316cc680c833356045932bb5f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 16 Jan 2017 22:22:07 -0800 Subject: External event API for send/recv implemented. This was the main blocker, I think, for the nanomsg legacy compat shim. Now that we have this, it should be relatively straight-forward to implement the legacy nanomsg API, including the SENDFD, RECVFD thing. --- tests/convey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/convey.c') diff --git a/tests/convey.c b/tests/convey.c index 62471a2c..d1691665 100644 --- a/tests/convey.c +++ b/tests/convey.c @@ -705,7 +705,7 @@ convey_vlogf(struct convey_log *log, const char *fmt, va_list va, int addnl) { /* Grow the log buffer if we need to */ while ((log->log_size - log->log_length) < 256) { - int newsz = log->log_size + 2000; + size_t newsz = log->log_size + 2000; char *ptr = malloc(newsz); if (ptr == NULL) { return; -- cgit v1.2.3-70-g09d2