]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[struct control]: Change type of `repeat' member to unsigned
authorJim Meyering <jim@meyering.net>
Thu, 25 May 1995 05:09:50 +0000 (05:09 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 25 May 1995 05:09:50 +0000 (05:09 +0000)
long to avoid conversion warning.

src/csplit.c

index 8a6c65d9411d3326143000b5ecbffe9cd58827ba..f75cbd218398065166c7c7536a92f5db0d5127c6 100644 (file)
@@ -73,7 +73,7 @@ struct control
   struct re_pattern_buffer re_compiled;        /* Compiled regular expression. */
   int offset;                  /* Offset from regexp to split at. */
   int lines_required;          /* Number of lines required. */
-  int repeat;                  /* Repeat count. */
+  unsigned int repeat;         /* Repeat count. */
   int repeat_forever;          /* Non-zero if `*' used as a repeat count. */
   int argnum;                  /* ARGV index. */
   boolean ignore;              /* If true, produce no output (for regexp). */