OSDN Git Service

PR objc/6107
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Apr 2002 07:06:18 +0000 (07:06 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Apr 2002 07:06:18 +0000 (07:06 +0000)
* objc/objc-api.h (struct objc_protocol_list): Change type of
member count from int to size_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52058 138bc75d-0d04-0410-961f-82ee72b054a4

libobjc/ChangeLog
libobjc/objc/objc-api.h

index 6f4d400..b17ab79 100644 (file)
@@ -1,3 +1,9 @@
+2002-04-08  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       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  <Franz.Sirl-kernel@lauterbach.com>
 
        PR libobjc/4039
index a0b404d..9268020 100644 (file)
@@ -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];
 };