fix size_t cast warnings on Windows

This commit is contained in:
Kevin Albertson 2022-12-27 18:28:47 -05:00 committed by Alexis La Goutte
parent 611eae17c8
commit bdb1616cf0
1 changed files with 2 additions and 2 deletions

View File

@ -765,8 +765,8 @@ zstd_tests (void) {
printf ("ZSTD test: %s ... begin\n", t->desc);
tvbuff_t *tvb = tvb_new_real_data (t->data, t->len, t->len);
tvbuff_t *got = tvb_uncompress_zstd (tvb, 0, t->len);
tvbuff_t *tvb = tvb_new_real_data (t->data, (const guint) t->len, (const guint) t->len);
tvbuff_t *got = tvb_uncompress_zstd (tvb, 0, (int) t->len);
if (!t->expect) {
if (got) {
fprintf (stderr, "ZSTD test: %s ... FAIL: Expected error, but got non-NULL from uncompress\n", t->desc);