diff options
author | Luca Deri <deri@ntop.org> | 2020-12-17 15:34:17 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-12-17 15:34:17 +0100 |
commit | b231982286757107ae3b5277a7dc268ef5b144db (patch) | |
tree | 451edcb34c54379b7c0b3c4067dde1f603264153 /src/lib | |
parent | df1b3367a9dffa937cd2cc0de460d4394079ec6e (diff) |
Win fixes
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ndpi_community_id.c | 2 | ||||
-rw-r--r-- | src/lib/ndpi_utils.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ndpi_community_id.c b/src/lib/ndpi_community_id.c index cc8436928..992d79202 100644 --- a/src/lib/ndpi_community_id.c +++ b/src/lib/ndpi_community_id.c @@ -70,7 +70,7 @@ /* **************************************************** */ -static ssize_t ndpi_community_id_buf_copy(u_int8_t * const dst, const void * const src, ssize_t len) { +static u_int16_t ndpi_community_id_buf_copy(u_int8_t * const dst, const void * const src, u_int16_t len) { if(src) memcpy(dst, src, len); else diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 88f4356a8..95a115110 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1802,3 +1802,4 @@ u_int32_t ndpi_quick_16_byte_hash(u_int8_t *in_16_bytes_long) { return((u_int32_t)a); } +/* ******************************************************************** */ |