diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-02-13 21:12:52 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-02-13 21:13:04 +0100 |
| commit | 9fad60140167661bfa1f442db3b81ba9e10d37e9 (patch) | |
| tree | 564b6cdd0e52c523a9a51e136d2edb0bbd60ece2 /src/fl_draw.cxx | |
| parent | 5ade8fcb09ad2f30d0ee84228f062bdfc8ecdc50 (diff) | |
Remove compilation warnings issued by Visual Studio 2019.
Diffstat (limited to 'src/fl_draw.cxx')
| -rw-r--r-- | src/fl_draw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx index 64d78f849..72a117df0 100644 --- a/src/fl_draw.cxx +++ b/src/fl_draw.cxx @@ -78,7 +78,7 @@ static const char* expand_text_(const char* from, char*& buf, int maxbuf, double if (o > e) { if (maxbuf) break; // don't overflow buffer - l_local_buff += (o - e) + 200; // enlarge buffer + l_local_buff += int(o - e) + 200; // enlarge buffer buf = (char*)realloc(local_buf, l_local_buff); e = buf + l_local_buff - 4; // update pointers to buffer content o = buf + (o - local_buf); |
