Commit 7f6db0ad121a3fdfdb9249c71b6650f771f4f6b3

Ben Straub 2013-10-28T05:19:30

Mmmm, GIT_FLEX_ARRAY

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/blame.h b/src/blame.h
index 09d349d..b50021a 100644
--- a/src/blame.h
+++ b/src/blame.h
@@ -16,7 +16,7 @@ typedef struct git_blame__origin {
 	struct git_blame__origin *previous;
 	git_commit *commit;
 	git_blob *blob;
-	char path[];
+	char path[GIT_FLEX_ARRAY];
 } git_blame__origin;
 
 /*