From 0bd9dd55a7d51673e60255a7bc779614a399c6d0 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 9 Apr 2002 07:06:18 +0000 Subject: [PATCH] re PR objc/6107 (sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures w/-m64) PR objc/6107 * objc/objc-api.h (struct objc_protocol_list): Change type of member count from int to size_t. From-SVN: r52058 --- libobjc/ChangeLog | 6 ++++++ libobjc/objc/objc-api.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 6f4d400134b..b17ab79628d 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,9 @@ +2002-04-08 Hans-Peter Nilsson + + PR objc/6107 + * objc/objc-api.h (struct objc_protocol_list): Change type of + member count from int to size_t. + 2002-02-11 Franz Sirl PR libobjc/4039 diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h index a0b404dc9ae..92680209eab 100644 --- a/libobjc/objc/objc-api.h +++ b/libobjc/objc/objc-api.h @@ -1,5 +1,5 @@ /* GNU Objective-C Runtime API. - Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1993, 1995, 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -261,7 +261,7 @@ typedef struct objc_method_list { struct objc_protocol_list { struct objc_protocol_list *next; - int count; + size_t count; Protocol *list[1]; };