From 631ecaabea7336a8f28367c0d1c291f0433f7e88 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 2 Jul 2007 20:45:15 +0300 Subject: Merged with mysql-5.1 main tree. BUILD/compile-pentium-debug-max: Added definition after macro was removed from main tree. This will be fixed back in main tree later. --- include/lf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/lf.h') diff --git a/include/lf.h b/include/lf.h index 4712f9c4862..8d26efd1232 100644 --- a/include/lf.h +++ b/include/lf.h @@ -206,7 +206,7 @@ uint lf_alloc_pool_count(LF_ALLOCATOR *allocator); #define lf_alloc_get_pins(A, ST) lf_pinbox_get_pins(&(A)->pinbox, (ST)) #define _lf_alloc_put_pins(PINS) _lf_pinbox_put_pins(PINS) #define lf_alloc_put_pins(PINS) lf_pinbox_put_pins(PINS) -#define lf_alloc_direct_free(ALLOC, ADDR) my_free((gptr)(ADDR), MYF(0)) +#define lf_alloc_direct_free(ALLOC, ADDR) my_free((uchar*)(ADDR), MYF(0)) lock_wrap(lf_alloc_new, void *, (LF_PINS *pins), -- cgit v1.2.1