Permalink
Browse files

Fix compile error in macro.

  • Loading branch information...
1 parent c6f8cb4 commit 3b228f9fe49287c3084e8ecb5a9d991be51815e0 Andrei Zmievski committed Apr 6, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 php_memcached.c
View
@@ -2730,9 +2730,9 @@ static void php_memc_register_constants(INIT_FUNC_ARGS)
* Indicate whether igbinary serializer is available
*/
#ifdef HAVE_MEMCACHED_IGBINARY
- REGISTER_MEMC_CLASS_CONST_BOOL(IGBINARY_SUPPORT, 1);
+ REGISTER_MEMC_CLASS_CONST_LONG(IGBINARY_SUPPORT, 1);
#else
- REGISTER_MEMC_CLASS_CONST_BOOL(IGBINARY_SUPPORT, 0);
+ REGISTER_MEMC_CLASS_CONST_LONG(IGBINARY_SUPPORT, 0);
#endif
/*

0 comments on commit 3b228f9

Please sign in to comment.