diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-16 00:43:03 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-16 00:43:03 -0800 |
| commit | 39dbff5615631522d3ef98b83141957038502c0d (patch) | |
| tree | 89becbf88ebb79df9c9202450acd476bd790bde0 /src/core/options.c | |
| parent | f71209a0b429cddcd44f1f2473c49e986c9b4be7 (diff) | |
| download | nng-39dbff5615631522d3ef98b83141957038502c0d.tar.gz nng-39dbff5615631522d3ef98b83141957038502c0d.tar.bz2 nng-39dbff5615631522d3ef98b83141957038502c0d.zip | |
Various complaints found in AppVeyor build.
Diffstat (limited to 'src/core/options.c')
| -rw-r--r-- | src/core/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/options.c b/src/core/options.c index 24d7a9eb..32b65ebf 100644 --- a/src/core/options.c +++ b/src/core/options.c @@ -103,7 +103,7 @@ nni_getopt_buf(nni_msgq *mq, void *val, size_t *sizep) { int len = nni_msgq_cap(mq); - int sz = *sizep; + size_t sz = *sizep; if (sz > sizeof (len)) { sz = sizeof (len); |
