aboutsummaryrefslogtreecommitdiff
path: root/src/fltk-images-pixmaps-gif.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-images-pixmaps-gif.adb')
-rw-r--r--src/fltk-images-pixmaps-gif.adb15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/fltk-images-pixmaps-gif.adb b/src/fltk-images-pixmaps-gif.adb
index 546ed3e..0a90d70 100644
--- a/src/fltk-images-pixmaps-gif.adb
+++ b/src/fltk-images-pixmaps-gif.adb
@@ -2,12 +2,7 @@
with
- Interfaces.C,
- System;
-
-use type
-
- System.Address;
+ Interfaces.C;
package body FLTK.Images.Pixmaps.GIF is
@@ -15,12 +10,12 @@ package body FLTK.Images.Pixmaps.GIF is
function new_fl_gif_image
(F : in Interfaces.C.char_array)
- return System.Address;
+ return Storage.Integer_Address;
pragma Import (C, new_fl_gif_image, "new_fl_gif_image");
pragma Inline (new_fl_gif_image);
procedure free_fl_gif_image
- (P : in System.Address);
+ (P : in Storage.Integer_Address);
pragma Import (C, free_fl_gif_image, "free_fl_gif_image");
pragma Inline (free_fl_gif_image);
@@ -30,11 +25,11 @@ package body FLTK.Images.Pixmaps.GIF is
overriding procedure Finalize
(This : in out GIF_Image) is
begin
- if This.Void_Ptr /= System.Null_Address and then
+ if This.Void_Ptr /= Null_Pointer and then
This in GIF_Image'Class
then
free_fl_gif_image (This.Void_Ptr);
- This.Void_Ptr := System.Null_Address;
+ This.Void_Ptr := Null_Pointer;
end if;
Finalize (Pixmap (This));
end Finalize;