Use Task_Address instead of System.Address.
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 8 Apr 2008 07:01:24 +0000 (09:01 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 8 Apr 2008 07:01:24 +0000 (09:01 +0200)
From-SVN: r134070

gcc/ada/s-tasuti.ads

index 286b5a0d70ca50a38958e2957fa9f044dbb336f3..e47f0e49d2b22aa9c25a2f09b1d40cb914ee628b 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                  S p e c                                 --
 --                                                                          --
---         Copyright (C) 1992-2007, Free Software Foundation, Inc.          --
+--         Copyright (C) 1992-2008, Free Software Foundation, Inc.          --
 --                                                                          --
 -- GNARL is free software; you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
 --  These declarations are not part of the GNARLI
 
 with Ada.Unchecked_Conversion;
+with System.Task_Primitives;
 
 package System.Tasking.Utilities is
 
    function ATCB_To_Address is new
-     Ada.Unchecked_Conversion (Task_Id, System.Address);
+     Ada.Unchecked_Conversion (Task_Id, System.Task_Primitives.Task_Address);
 
    ---------------------------------
    -- Task_Stage Related routines --