Code

gitweb: Always use three argument form of open
[git.git] / compat / mingw.c
index 2a047019e819740b0208bcaa9c18999c68d1c89c..cdeda1d9859fd545950e0c39ee7de3c9dc09bb07 100644 (file)
@@ -562,7 +562,7 @@ static char **get_path_split(void)
        if (!n)
                return NULL;
 
-       path = xmalloc((n+1)*sizeof(char*));
+       path = xmalloc((n+1)*sizeof(char *));
        p = envpath;
        i = 0;
        do {