From c1ba9f31ec3a1a53a1d257068f50a7be52f995c3 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 24 Nov 2022 12:51:26 +0100 Subject: Fix two Visual Studio compiler warnings + fix trailing whitespace (fluid) --- src/Fl_SVG_Image.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_SVG_Image.cxx') diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx index c971f2156..7c8a6ff12 100644 --- a/src/Fl_SVG_Image.cxx +++ b/src/Fl_SVG_Image.cxx @@ -130,7 +130,7 @@ static char *svg_inflate(gzFile gzf, // can be a file or the read end of a pipe break; } - l = gzread(gzf, p, size); + l = gzread(gzf, p, (unsigned int)size); if (l > 0) { p += l; *p = 0; } -- cgit v1.2.3