diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-08-20 16:17:32 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-08-20 16:18:41 -0700 |
| commit | 1c3350f6f4a738815c39a67dc0ba1a953a1b9f03 (patch) | |
| tree | e5e3f6c9306524fe3cfb7f015f890daf46f60e13 /src | |
| parent | a14ea4aef0f36879b4eab10288151f971b9e4665 (diff) | |
| download | nng-1c3350f6f4a738815c39a67dc0ba1a953a1b9f03.tar.gz nng-1c3350f6f4a738815c39a67dc0ba1a953a1b9f03.tar.bz2 nng-1c3350f6f4a738815c39a67dc0ba1a953a1b9f03.zip | |
fixes #669 pipe.c type conversion warning
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/pipe.c b/src/core/pipe.c index 66cd87cc..b79b6a3a 100644 --- a/src/core/pipe.c +++ b/src/core/pipe.c @@ -211,7 +211,7 @@ nni_pipe_create(nni_pipe **pp, nni_sock *sock, nni_tran *tran, void *tdata) nni_mtx_lock(&nni_pipe_lk); if ((rv = nni_idhash_alloc(nni_pipes, &id, p)) == 0) { - p->p_id = id; + p->p_id = (uint32_t) id; p->p_refcnt = 1; } nni_mtx_unlock(&nni_pipe_lk); |
