diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-09-29 15:27:08 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-09-29 20:00:36 -0700 |
| commit | 869d0eeb20657cd6d2e87d8c4836b086c6be448d (patch) | |
| tree | 4731bf410cf36fb3442861575807dbb83400a3b3 /src/core/options.c | |
| parent | 82d17f6365a95a500c32ae3a4ad40ff6fb609f3e (diff) | |
| download | nng-869d0eeb20657cd6d2e87d8c4836b086c6be448d.tar.gz nng-869d0eeb20657cd6d2e87d8c4836b086c6be448d.tar.bz2 nng-869d0eeb20657cd6d2e87d8c4836b086c6be448d.zip | |
Windows UDP support.
This implements the basic UDP functionality for Windows (required
for ZeroTier for example). We have also introduced a UDP test suite
to validate that this actually works. While here a few Windows
compilation warnings / nits were fixed.
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 d08ac1cb..aa744642 100644 --- a/src/core/options.c +++ b/src/core/options.c @@ -149,7 +149,7 @@ nni_getopt_int(int i, void *val, size_t *sizep) } int -nni_getopt_u64(const uint64_t u, void *val, size_t *sizep) +nni_getopt_u64(uint64_t u, void *val, size_t *sizep) { size_t sz = sizeof(u); |
