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

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

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

revision 1.7, Thu Jun 13 22:05:09 2002 UTC revision 1.8, Fri Jun 14 13:27:28 2002 UTC
# 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.1.7  
changed lines
  Added in v.1.8

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