diff options
author | Russell Belfer <rb@github.com> | 2012-05-08 13:23:00 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-05-08 13:23:00 -0700 |
commit | 19579847f6b4ee6942253f2a6311a936e4ac05ac (patch) | |
tree | 10d6132ca165f128281fde21c686d4ac95ab10c8 /src/posix.c | |
parent | 2c0cdc3a86acd917087937f6348062b3951217b5 (diff) | |
download | libgit2-19579847f6b4ee6942253f2a6311a936e4ac05ac.tar.gz |
Clean up warnings and tests
Diffstat (limited to 'src/posix.c')
-rw-r--r-- | src/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posix.c b/src/posix.c index cecb538eb..a9a6af984 100644 --- a/src/posix.c +++ b/src/posix.c @@ -21,7 +21,7 @@ int p_open(const char *path, int flags, ...) va_list arg_list; va_start(arg_list, flags); - mode = va_arg(arg_list, mode_t); + mode = (mode_t)va_arg(arg_list, int); va_end(arg_list); } |