X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diff-no-index.c;h=4ebc1dbd87d9b90ad2aaa5c7d4601761e2d1d724;hb=6e0800ef2575751f2e20d11e2cfe305304e5e9b8;hp=42c1dd8ad3b0633767bf577975a895722f882565;hpb=fbdc05661d9b732d06c47ccb3d5836d0d1b563e5;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]; /*