summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@gnu.org>2015-02-01 15:45:33 +0100
committerAndreas Gruenbacher <agruen@gnu.org>2015-02-01 15:47:16 +0100
commitb73c1f95cb9ef985a0bf61e33cfbb54f2624ba1d (patch)
tree2a5e7ea4d2850cf6e82afb4d369b0c81fc7e5f3c
parent709458d9d9e6f24c8f781ecbf3c4027f63eab72b (diff)
downloadpatch-b73c1f95cb9ef985a0bf61e33cfbb54f2624ba1d.tar.gz
Fix minor signedness warning
* src/pch.c (intuit_diff_type): Don't assign signed dummy value to unsigned variable.
-rw-r--r--src/pch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pch.c b/src/pch.c
index fd8885e..1f12285 100644
--- a/src/pch.c
+++ b/src/pch.c
@@ -434,7 +434,7 @@ intuit_diff_type (bool need_header, mode_t *p_file_type)
int version_controlled[3];
enum diff retval;
mode_t file_type;
- size_t indent = -1;
+ size_t indent = 0;
for (i = OLD; i <= INDEX; i++)
if (p_name[i]) {