[MPlayer-dev-eng] headers for osdep/ subdir??
Rich Felker
dalias at aerifal.cx
Wed Mar 8 21:26:42 CET 2006
On Wed, Mar 08, 2006 at 01:03:50PM +0100, Reimar Döffinger wrote:
> Hello,
> I just noticed that we have a little problem there (AFAICT). Since we do
> not have any headers there, this means that e.g. strlcpy will be used
> without prototype on platforms where it is not available. Now if this is
> a 64 bit platform, I think the pointers will be truncated to 32 bit,
> right? Same probably for other functions as well.
They won't be truncated. The big problem is args of type size_t (which
would need to be promoted from int), and possibly also passing 0 for a
null pointer (which would need to be promoted to pointer).
Rich
More information about the MPlayer-dev-eng
mailing list