summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-05-02 16:00:23 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-05-02 16:00:23 +0200
commit3abe6aae115dffe6c64bb4296e2868fe9933b81f (patch)
tree7f186dd24429c9ad7e221c886f435f4e1ada648d
parentc570f0680d810c4799505a0f948836d51ec950d5 (diff)
downloadlibgit2-cmn/clar-tmp.tar.gz
p_open: make flags volatilecmn/clar-tmp
fml
-rw-r--r--src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posix.c b/src/posix.c
index 7b2962feb..7484ac0d8 100644
--- a/src/posix.c
+++ b/src/posix.c
@@ -99,7 +99,7 @@ const char *p_gai_strerror(int ret)
#endif /* NO_ADDRINFO */
-int p_open(const char *path, int flags, ...)
+int p_open(const char *path, volatile int flags, ...)
{
mode_t mode = 0;