aboutsummaryrefslogtreecommitdiff
path: root/body/fltk-widgets-inputs-text-whole_number.adb
diff options
context:
space:
mode:
Diffstat (limited to 'body/fltk-widgets-inputs-text-whole_number.adb')
-rw-r--r--body/fltk-widgets-inputs-text-whole_number.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/body/fltk-widgets-inputs-text-whole_number.adb b/body/fltk-widgets-inputs-text-whole_number.adb
index b0a5aa5..070dc0f 100644
--- a/body/fltk-widgets-inputs-text-whole_number.adb
+++ b/body/fltk-widgets-inputs-text-whole_number.adb
@@ -145,7 +145,7 @@ package body FLTK.Widgets.Inputs.Text.Whole_Number is
(This : in Integer_Input)
return Long_Integer
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) = ""