mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
93f406d7fd
commit
546aa0c854
11 changed files with 49 additions and 39 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue