Permalink
Browse files

Fix compile warning

  • Loading branch information...
1 parent f9c79bc commit 3c6383aa050e57092399954cf7be1daa8b8778e3 @tmm1 tmm1 committed Sep 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/em.cpp
View
@@ -1257,7 +1257,7 @@ const unsigned long EventMachine_t::ConnectToUnixServer (const char *server)
#ifdef OS_WIN32
throw std::runtime_error ("unix-domain connection unavailable on this platform");
- return NULL;
+ return 0;
#endif
// The whole rest of this function is only compiled on Unix systems.

0 comments on commit 3c6383a

Please sign in to comment.