summaryrefslogtreecommitdiff
path: root/extra/libevent/event.c
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2010-11-27 00:37:34 +0200
committerMichael Widenius <monty@askmonty.org>2010-11-27 00:37:34 +0200
commit9ab4829bc6d37e0ffacc016ce09351e9bde8cf81 (patch)
tree6d2322142123186d4b150e50f2c06cf513b196f4 /extra/libevent/event.c
parentb8b3716ae029f2c550e1ec0b1e50ac01aabf5dc5 (diff)
downloadmariadb-git-9ab4829bc6d37e0ffacc016ce09351e9bde8cf81.tar.gz
Fixed compiler warnings and a compilation failure on windows
extra/libevent/event.c: Tried to fix compiler warning on windows extra/libevent/evutil.h: Define __attribute__ for not gcc compilers extra/libevent/kqueue.c: Fixed compiler warnings extra/libevent/signal.c: Tried to fix compiler warning on windows storage/pbxt/src/ha_pbxt.cc: Fixed compiler warning about "variable might be clobbered by longjmp" storage/pbxt/src/table_xt.cc: Fixed compiler warnings (on windows) storage/xtradb/handler/i_s.cc: Fixed compiler warning by invoking the correct store function.
Diffstat (limited to 'extra/libevent/event.c')
-rw-r--r--extra/libevent/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/libevent/event.c b/extra/libevent/event.c
index 2042c2de626..07498c709c8 100644
--- a/extra/libevent/event.c
+++ b/extra/libevent/event.c
@@ -405,7 +405,7 @@ event_loopexit_cb(int fd __attribute__((unused)),
int
event_loopexit(struct timeval *tv)
{
- return (event_once(-1, EV_TIMEOUT, event_loopexit_cb,
+ return (event_once(-1, EV_TIMEOUT, &event_loopexit_cb,
current_base, tv));
}