From 1f496e9ea7c55e528dedbd18ca0d9b1fc275430e Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 24 Sep 2013 14:19:53 +0000
Subject: [PATCH] fix compile with newer clang compiler

---
 Fltk/inputValue.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Fltk/inputValue.cpp b/Fltk/inputValue.cpp
index e3fb20d560..9799122fc0 100644
--- a/Fltk/inputValue.cpp
+++ b/Fltk/inputValue.cpp
@@ -10,7 +10,7 @@
 
 void inputValue::new_input_cb(Fl_Widget*, void* v)
 {
-  Fl_Value_Input& t = *(Fl_Value_Input*)v;
+  inputValue& t = *(inputValue*)v;
   double nv = strtod(t.input.value(), 0);
   if (nv != t.value() || t.when() & FL_WHEN_NOT_CHANGED) {
     t.set_value(nv);
-- 
GitLab