# HG changeset patch # User atmos4 # Date 1026291366 0 # Node ID ebe660cf5752c481a3be57ee7d4e278b852dd7a2 # Parent 4cade272ce2b169b5fbfc53d9c0e7e9fe06eb84e Patch by Alan Young : Fix xacodec type mismatch, which is exploited on 64bit-archs (where sizeof(int) != sizeof(long)) diff -r 4cade272ce2b -r ebe660cf5752 xacodec.h --- a/xacodec.h Wed Jul 10 08:51:11 2002 +0000 +++ b/xacodec.h Wed Jul 10 08:56:06 2002 +0000 @@ -29,15 +29,15 @@ typedef struct { void *anim_hdr; - unsigned long compression; - unsigned long x, y; - unsigned long depth; + unsigned int compression; + unsigned int x, y; + unsigned int depth; void *extra; - unsigned long xapi_rev; - unsigned long (*decoder)(); + unsigned int xapi_rev; + unsigned int (*decoder)(); char *description; - unsigned long avi_ctab_flag; - unsigned long (*avi_read_ext)(); + unsigned int avi_ctab_flag; + unsigned int (*avi_read_ext)(); } XA_CODEC_HDR; #define CODEC_SUPPORTED 1