]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
Prefer signed integer in struct directory
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Aug 2024 00:45:03 +0000 (17:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2024 06:25:46 +0000 (23:25 -0700)
* src/incremen.c (struct directory):
Prefer int to unsigned where either will do.

src/incremen.c

index 50f040e6097cf16296f36f135370d928de6fc513..d14d172701d8ff2a0264a2c41b4508e503d96d56 100644 (file)
@@ -77,7 +77,7 @@ struct directory
     struct dumpdir *idump;      /* Initial contents if the directory was
                                   rescanned */
     enum children children;     /* What to save under this directory */
-    unsigned flags;             /* See DIRF_ macros above */
+    int flags;                 /* See DIRF_ macros above */
     struct directory *orig;     /* If the directory was renamed, points to
                                   the original directory structure */
     const char *tagfile;        /* Tag file, if the directory falls under