[vlc-devel] [PATCH] Make cached module configuration on 64 bits	work again
    Rémi Denis-Courmont 
    remi at remlab.net
       
    Thu Jan 24 09:24:38 CET 2013
    
    
  
Le jeudi 24 janvier 2013 09:19:28, Mario Speiß a écrit :
> This patch resolves the problems I encountered after applying the patch
> for src/modules/cache.c with the 64 bit version of vlc.
The union is 32-bits on x86-64. On a typical 64-bits architecture, the 
compiler will add 32-bits of padding to the outer structure so that the 
pointers are aligned on their natural boundary. But that has no consequences 
on the union or the inner structure.
There may be a portability issue but definitely not on x86-64 and the patch is 
definitely wrong anyway.
-- 
Rémi Denis-Courmont
http://www.remlab.net/
    
    
More information about the vlc-devel
mailing list