Avoid some gcc-4.1 compiler warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22932 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-05-15 12:07:35 +00:00
parent 93f406d7fd
commit 546aa0c854
11 changed files with 49 additions and 39 deletions

View file

@ -19,7 +19,8 @@
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
$Date$ $Revision$
*/
@ -121,9 +122,9 @@ static Class GSInlineArrayClass;
+ (id) allocWithZone: (NSZone*)zone
{
GSArray *array = NSAllocateObject(self, 0, zone);
GSArray *array = (GSArray*)NSAllocateObject(self, 0, zone);
return array;
return (id)array;
}
- (id) copyWithZone: (NSZone*)zone