diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-08-30 22:00:59 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-08-30 23:45:16 +0200 |
| commit | 1a8b94162da0a9eab88813d6b1928b483b7990eb (patch) | |
| tree | 5b46e2e0ef435d32c5e8bf9e6806275434c1d9f4 /fluid/code.cxx | |
| parent | ed3ec2d036675601f612bb9f45ad9e9b731699f3 (diff) | |
Fix Windows (VS) compiler warnings in fluid
Diffstat (limited to 'fluid/code.cxx')
| -rw-r--r-- | fluid/code.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/code.cxx b/fluid/code.cxx index 4603e9582..5cf462236 100644 --- a/fluid/code.cxx +++ b/fluid/code.cxx @@ -1,7 +1,7 @@ // // Code output routines for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2015 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 @@ -233,7 +233,7 @@ void write_cstring(const char *s, int length) { } // write a C string, quoting characters if necessary: -void write_cstring(const char *s) {write_cstring(s,strlen(s));} +void write_cstring(const char *s) {write_cstring(s, (int)strlen(s));} // write an array of C binary data (does not add a null): void write_cdata(const char *s, int length) { |
