aboutsummaryrefslogtreecommitdiff
path: root/body/fltk-widgets-inputs-text-floating_point.adb
diff options
context:
space:
mode:
Diffstat (limited to 'body/fltk-widgets-inputs-text-floating_point.adb')
-rw-r--r--body/fltk-widgets-inputs-text-floating_point.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/body/fltk-widgets-inputs-text-floating_point.adb b/body/fltk-widgets-inputs-text-floating_point.adb
index 4bdcc0f..6a7925c 100644
--- a/body/fltk-widgets-inputs-text-floating_point.adb
+++ b/body/fltk-widgets-inputs-text-floating_point.adb
@@ -145,7 +145,7 @@ package body FLTK.Widgets.Inputs.Text.Floating_Point is
(This : in Float_Input)
return Long_Float
is
- Ptr : Interfaces.C.Strings.chars_ptr := fl_input_get_value (This.Void_Ptr);
+ Ptr : constant Interfaces.C.Strings.chars_ptr := fl_input_get_value (This.Void_Ptr);
begin
if Ptr = Interfaces.C.Strings.Null_Ptr or else
Interfaces.C.Strings.Value (Ptr) = ""