diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-08-14 20:35:10 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-09-09 00:48:09 +0300 |
commit | 370ce56910b9e506b22c7b673ef630a046b90126 (patch) | |
tree | 35009bd2afa6301ee19a78b9587e323a4e2c708d /src/tree.h | |
parent | 9c9f4fc11c85d621dc5fdcf46bbcb5b5da9ed73f (diff) | |
download | libgit2-370ce56910b9e506b22c7b673ef630a046b90126.tar.gz |
Fix: do not export custom types in the extern API
Some compilers give linking problems when exporting 'uint32_t' as a
return type in the external API. Use generic types instead.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/tree.h')
-rw-r--r-- | src/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.h b/src/tree.h index 2222b0349..4c0be2ae0 100644 --- a/src/tree.h +++ b/src/tree.h @@ -5,7 +5,7 @@ #include "repository.h" struct git_tree_entry { - uint32_t attr; + unsigned int attr; char *filename; git_oid oid; |