Skip to content

Commit 3b228f9

Browse files
author
Andrei Zmievski
committed
Fix compile error in macro.
1 parent c6f8cb4 commit 3b228f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php_memcached.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2730,9 +2730,9 @@ static void php_memc_register_constants(INIT_FUNC_ARGS)
27302730
* Indicate whether igbinary serializer is available
27312731
*/
27322732
#ifdef HAVE_MEMCACHED_IGBINARY
2733-
REGISTER_MEMC_CLASS_CONST_BOOL(IGBINARY_SUPPORT, 1);
2733+
REGISTER_MEMC_CLASS_CONST_LONG(IGBINARY_SUPPORT, 1);
27342734
#else
2735-
REGISTER_MEMC_CLASS_CONST_BOOL(IGBINARY_SUPPORT, 0);
2735+
REGISTER_MEMC_CLASS_CONST_LONG(IGBINARY_SUPPORT, 0);
27362736
#endif
27372737

27382738
/*

0 commit comments

Comments
 (0)