[vlc-devel] [PATCH] Temporarily work around crashing on Windows	due to %zu
    Rémi Denis-Courmont 
    rem at videolan.org
       
    Mon Nov 17 16:40:42 CET 2008
    
    
  
On Monday 17 November 2008 13:08:28 Pierre Ynard, you wrote:
> The printf functions on Windows don't support the z length modifier,
> which can shift field arguments, and causes an unconditional crash in
> modules.c on start-up. For now, strip it on Windows and have vlc work
> again, until a better solution is found and applied.
In this particular case, storing an unsigned instead of a size_t would be 
simpler. But my concern remain that this fix is pointless as it only 
addresses the tip of the iceberg. We have quite a bunch of other %z and %j 
throughout and not all of them can/should be turned into ints.
-- 
Rémi Denis-Courmont
    
    
More information about the vlc-devel
mailing list