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