From fa9ad9461acfab5c3620793b2ea9e1534caf0cae Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 22 May 2006 05:39:57 +0000 Subject: Make gl_offs size_t too, as required by POSIX Make non-standard gl_matchc in the similar fashion as gl_pathc size_t too, like done in NetBSD & others --- include/glob.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/glob.h b/include/glob.h index 0cfa2df0d8ae..dad7d0c6adb9 100644 --- a/include/glob.h +++ b/include/glob.h @@ -45,8 +45,8 @@ struct stat; typedef struct { size_t gl_pathc; /* Count of total paths so far. */ - int gl_matchc; /* Count of paths matching pattern. */ - int gl_offs; /* Reserved at beginning of gl_pathv. */ + size_t gl_matchc; /* Count of paths matching pattern. */ + size_t gl_offs; /* Reserved at beginning of gl_pathv. */ int gl_flags; /* Copy of flags parameter to glob. */ char **gl_pathv; /* List of paths matching pattern. */ /* Copy of errfunc parameter to glob. */ -- cgit v1.3