summaryrefslogtreecommitdiff
path: root/body/fltk-widgets-buttons.adb
diff options
context:
space:
mode:
Diffstat (limited to 'body/fltk-widgets-buttons.adb')
-rw-r--r--body/fltk-widgets-buttons.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/body/fltk-widgets-buttons.adb b/body/fltk-widgets-buttons.adb
index d6e587e..bc78d8d 100644
--- a/body/fltk-widgets-buttons.adb
+++ b/body/fltk-widgets-buttons.adb
@@ -293,7 +293,7 @@ package body FLTK.Widgets.Buttons is
(This : in Button)
return Key_Combo is
begin
- return To_Ada (fl_button_get_shortcut (This.Void_Ptr));
+ return To_Ada (Interfaces.C.unsigned (fl_button_get_shortcut (This.Void_Ptr)));
end Get_Shortcut;