[svn] / trunk / xvidcore / src / utils / mem_align.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/utils/mem_align.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 208, Fri Jun 14 13:21:35 2002 UTC revision 209, Fri Jun 14 13:29:07 2002 UTC
# Line 33  Line 33 
33   *   *
34   *  - Thu Jun 13 23:50:07 2002 Added legal header   *  - Thu Jun 13 23:50:07 2002 Added legal header
35   *   *
36   *  $Id: mem_align.c,v 1.7 2002-06-13 22:05:09 edgomez Exp $   *  $Id: mem_align.c,v 1.8 2002-06-14 13:27:28 Isibaar Exp $
37   *   *
38   ****************************************************************************/   ****************************************************************************/
39    
# Line 90  Line 90 
90    
91                          /* Align the tmp pointer */                          /* Align the tmp pointer */
92                          mem_ptr =                          mem_ptr =
93                                  (uint8_t *) ((uint32_t) (tmp + alignment - 1) &                                  (uint8_t *) ((ptr_t) (tmp + alignment - 1) &
94                                                           (~(uint32_t) (alignment - 1)));                                                           (~(ptr_t) (alignment - 1)));
95    
96                          /*                          /*
97                           * Special case where malloc have already satisfied the alignment                           * Special case where malloc have already satisfied the alignment

Legend:
Removed from v.208  
changed lines
  Added in v.209

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4