From 626d660bc350beb66e683449983a63b64f39d53e Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 8 Sep 2011 09:05:45 +0000 Subject: Quiesce a compiler warning in preparation for the upcoming fltk update [1]. While here, move LICENSE per new portlint regime. Submitted by: gahr [1] --- textproc/fldiff/files/patch-DiffWindow.cxx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 textproc/fldiff/files/patch-DiffWindow.cxx (limited to 'textproc/fldiff/files/patch-DiffWindow.cxx') diff --git a/textproc/fldiff/files/patch-DiffWindow.cxx b/textproc/fldiff/files/patch-DiffWindow.cxx new file mode 100644 index 000000000000..db526c0b7cd9 --- /dev/null +++ b/textproc/fldiff/files/patch-DiffWindow.cxx @@ -0,0 +1,17 @@ +--- ./DiffWindow.cxx.orig 2006-11-13 19:54:02.000000000 +0100 ++++ ./DiffWindow.cxx 2011-09-08 10:20:08.000000000 +0200 +@@ -1126,11 +1126,11 @@ + DiffWindow::save_prefs() + { + // Save the window prefs for the next run... +- prefs_.set("color", color()); +- prefs_.set("selection_color", selection_color()); ++ prefs_.set("color", static_cast(color())); ++ prefs_.set("selection_color", static_cast(selection_color())); + prefs_.set("showlinenum", showlinenum()); + prefs_.set("tabwidth", tabwidth()); +- prefs_.set("textcolor", textcolor()); ++ prefs_.set("textcolor", static_cast(textcolor())); + prefs_.set("textsize", textsize()); + prefs_.set("ignoreblanks", ignoreblanks()); + } -- cgit v1.2.3