Commit 62d636ba authored by Jon Lech Johansen's avatar Jon Lech Johansen

* Fixed my fix for the fix for vlc_memalign. Sorry O:-)

parent 7ae0024e
......@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: common.h,v 1.100 2002/04/26 17:07:14 jlj Exp $
* $Id: common.h,v 1.101 2002/04/26 18:12:28 jlj Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
......@@ -385,7 +385,7 @@ struct intf_subscription_s;
# define vlc_memalign(pp_orig,align,size) \
(( *(pp_orig) = malloc( size + align - 1 )) \
? (void *)( (((unsigned long)*(pp_orig)) + (unsigned long)(align-1) ) \
& (~(unsigned long)align) ) \
& (~(unsigned long)(align-1)) ) \
: NULL )
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment