[ogg-dev] [PATCH] Fix a couple of problems for compilers where int is 16-bits

Ralph Giles giles at xiph.org
Thu Feb 25 14:31:54 PST 2010

On 18 December 2009 03:20, Jon Beniston <jon at beniston.com> wrote:

> The attached patch changes occurrences of serialno to use the type
> ogg_int32_t, rather than int, as int can be too small on targets where it is
> only 16-bits.

Sorry, your post got stuck in the moderation queue for a while.

Good catch about the long vs. int mismatch in the api. However, this
is an ABI breaking change. Do you have an actual platform with 16 bit
ints you needed this for?


More information about the ogg-dev mailing list