diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-11-24 17:29:26 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-11-24 17:29:26 +0100 |
| commit | 40f376a6f707e6c5ae69c0f73300575bd79e28e3 (patch) | |
| tree | 75dcec5f82d7d309a68333a8e05ec1a289174dd8 /src/Fl_SVG_Image.cxx | |
| parent | c3011e32e43bd4fa986e9b9a220c7d28bb958c2c (diff) | |
Fix two new Visual Studio compiler warnings
Diffstat (limited to 'src/Fl_SVG_Image.cxx')
| -rw-r--r-- | src/Fl_SVG_Image.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx index ca52a55f7..a615ccb4a 100644 --- a/src/Fl_SVG_Image.cxx +++ b/src/Fl_SVG_Image.cxx @@ -119,7 +119,7 @@ static char *svg_inflate(gzFile gzf, // can be a file or the read end of a pipe do { if (is_compressed && p + size > out + out_size) { out_size += size; - unsigned delta = (p - out); + size_t delta = (p - out); out = (char*)realloc(out, out_size + 1); p = out + delta; } |
