From 7810cda145dae1a0dfc739ec24078a73e3138088 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 26 Feb 2022 18:19:43 +0100 Subject: Fix Visual Studio build warnings --- fluid/Shortcut_Button.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fluid') diff --git a/fluid/Shortcut_Button.cxx b/fluid/Shortcut_Button.cxx index fabe1ea11..517eee624 100644 --- a/fluid/Shortcut_Button.cxx +++ b/fluid/Shortcut_Button.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include "../src/flstring.h" /** \class Shortcut_Button @@ -299,7 +300,7 @@ int Fluid_Coord_Input::eval(uchar *&s, int prio) const { int Fluid_Coord_Input::eval(const char *s) const { // duplicate the text, so we can modify it - uchar *buf = (uchar*)strdup(s); + uchar *buf = (uchar*)fl_strdup(s); uchar *src = buf, *dst = buf; // remove all whitespace to make the parser easier for (;;) { -- cgit v1.2.3