summaryrefslogtreecommitdiff
path: root/fluid/Fl_Function_Type.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-08-30 22:00:59 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-08-30 23:45:16 +0200
commit1a8b94162da0a9eab88813d6b1928b483b7990eb (patch)
tree5b46e2e0ef435d32c5e8bf9e6806275434c1d9f4 /fluid/Fl_Function_Type.cxx
parented3ec2d036675601f612bb9f45ad9e9b731699f3 (diff)
Fix Windows (VS) compiler warnings in fluid
Diffstat (limited to 'fluid/Fl_Function_Type.cxx')
-rw-r--r--fluid/Fl_Function_Type.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx
index 54b4a7313..2ece47e38 100644
--- a/fluid/Fl_Function_Type.cxx
+++ b/fluid/Fl_Function_Type.cxx
@@ -1,7 +1,7 @@
//
// C function type code for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2016 by Bill Spitzak and others.
+// Copyright 1998-2021 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -500,7 +500,7 @@ void Fl_Code_Type::write_code1() {
const char *ind = indent();
while( (pch=strchr(c,'\n')) )
{
- int line_len = pch - c;
+ int line_len = int(pch - c);
if (line_len < 1)
write_c("\n");
else