aboutsummaryrefslogtreecommitdiff
path: root/body/fltk-widgets-valuators-sliders.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-03-23 13:10:56 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-03-23 13:10:56 +1300
commit620c9cedb6880f28a2b3657a5d55d120bf83e9ba (patch)
tree237cae636dffff5809ac2aef52fabc36a8254209 /body/fltk-widgets-valuators-sliders.adb
parentf2352c6df585d817b3613145ec81446f917dcc21 (diff)
Improved project files, constant variables now constant
Diffstat (limited to 'body/fltk-widgets-valuators-sliders.adb')
-rw-r--r--body/fltk-widgets-valuators-sliders.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/body/fltk-widgets-valuators-sliders.adb b/body/fltk-widgets-valuators-sliders.adb
index 00153dc..b670ba2 100644
--- a/body/fltk-widgets-valuators-sliders.adb
+++ b/body/fltk-widgets-valuators-sliders.adb
@@ -7,7 +7,7 @@
with
FLTK.Widgets.Groups,
- Interfaces.C.Strings;
+ Interfaces.C;
package body FLTK.Widgets.Valuators.Sliders is
@@ -367,7 +367,7 @@ package body FLTK.Widgets.Valuators.Sliders is
(This : in Slider)
return Slider_Kind
is
- Result : Interfaces.C.unsigned_char := fl_widget_get_type (This.Void_Ptr);
+ Result : constant Interfaces.C.unsigned_char := fl_widget_get_type (This.Void_Ptr);
begin
return Slider_Kind'Val (Result);
exception