X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=diff-no-index.c;h=4ebc1dbd87d9b90ad2aaa5c7d4601761e2d1d724;hb=3755ccdb65a3bcaa1d55a6b4ec9c47eab0501baa;hp=42c1dd8ad3b0633767bf577975a895722f882565;hpb=dffc13166ba8950b2ddbac2406042751f96841b7;p=git.git diff --git a/diff-no-index.c b/diff-no-index.c index 42c1dd8ad..4ebc1dbd8 100644 --- a/diff-no-index.c +++ b/diff-no-index.c @@ -233,7 +233,7 @@ void diff_no_index(struct rev_info *revs, if (prefix) { int len = strlen(prefix); - revs->diffopt.paths = xcalloc(2, sizeof(char*)); + revs->diffopt.paths = xcalloc(2, sizeof(char *)); for (i = 0; i < 2; i++) { const char *p = argv[argc - 2 + i]; /*