summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2006-05-22 05:39:57 +0000
committerache <ache@FreeBSD.org>2006-05-22 05:39:57 +0000
commit76b59e961a9717b2ffe8e275044745783c753193 (patch)
treea5aee5d00bc4c4ec0f57a8ade5a4a438bec0b389 /include
parent38d8afc67c5364f25a8db0a2d195fc3c43d1a006 (diff)
downloadFreeBSD-src-76b59e961a9717b2ffe8e275044745783c753193.zip
FreeBSD-src-76b59e961a9717b2ffe8e275044745783c753193.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/glob.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/glob.h b/include/glob.h
index 0cfa2df..dad7d0c 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. */
OpenPOWER on IntegriCloud