diff options
author | liyuray <liyuray@gmail.com> | 2012-06-21 20:17:54 +0800 |
---|---|---|
committer | liyuray <liyuray@gmail.com> | 2012-06-21 20:17:54 +0800 |
commit | dfa0b65c695c24512a60678587183d95de4c18fa (patch) | |
tree | 25a164389ae3a307a2e3a4cdc42fe7f90416a155 /tests-clar/diff/blob.c | |
parent | 9311423c34bbd369928152c6a2b669204276ddd1 (diff) | |
download | libgit2-dfa0b65c695c24512a60678587183d95de4c18fa.tar.gz |
fix below issues on mingw:
1. compile warning:
D:\libgit2.git\src\win32\posix_w32.c: In function 'p_open':
D:\libgit2.git\src\win32\posix_w32.c:235:10: warning: 'mode_t' is promoted to 'int' when passed through '...' [enabled by default]
D:\libgit2.git\src\win32\posix_w32.c:235:10: note: (so you should pass 'int' not 'mode_t' to 'va_arg')
D:\libgit2.git\src\win32\posix_w32.c:235:10: note: if this code is reached, the program will abort
2. test crash.
3. the above two issues are same root cause. please see http://www.eskimo.com/~scs/cclass/int/sx11c.html
Diffstat (limited to 'tests-clar/diff/blob.c')
0 files changed, 0 insertions, 0 deletions