aboutsummaryrefslogtreecommitdiffstats
path: root/epan/nghttp2/nghttp2_hd.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/nghttp2/nghttp2_hd.c')
-rw-r--r--epan/nghttp2/nghttp2_hd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/nghttp2/nghttp2_hd.c b/epan/nghttp2/nghttp2_hd.c
index 0972037304..8234fc1f13 100644
--- a/epan/nghttp2/nghttp2_hd.c
+++ b/epan/nghttp2/nghttp2_hd.c
@@ -2011,7 +2011,7 @@ ssize_t nghttp2_hd_inflate_hd(nghttp2_hd_inflater *inflater,
goto fail;
}
- return in - first;
+ return (ssize_t)(in - first);
fail:
DEBUGF(fprintf(stderr, "inflatehd: error return %zd\n", rv));