summaryrefslogtreecommitdiffstats
path: root/generic/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/regex.h')
-rw-r--r--generic/regex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/regex.h b/generic/regex.h
index d80784d..81f98a4 100644
--- a/generic/regex.h
+++ b/generic/regex.h
@@ -142,8 +142,8 @@ typedef struct {
/* result reporting (may acquire more fields later) */
typedef struct {
- size_t rm_so; /* start of substring */
- size_t rm_eo; /* end of substring */
+ long rm_so; /* start of substring */
+ long rm_eo; /* end of substring */
} regmatch_t;
/* supplementary control and reporting */