Description: Fix FTBFS for i386 It seems to me that this is caused by gcc-14. But the code only compiles on i386. Bug-Debian: http://bugs.debian.org/1078422 Author: Ying-Chun Liu (PaulLiu) Index: avifile-0.7.48~20090503.ds/plugins/libwin32/loader/afl.c =================================================================== --- avifile-0.7.48~20090503.ds.orig/plugins/libwin32/loader/afl.c +++ avifile-0.7.48~20090503.ds/plugins/libwin32/loader/afl.c @@ -223,7 +223,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVE return MMSYSERR_ERROR; } - pad->pfnDriverProc = GetProcAddress(pad->hDrvr, "DriverProc"); + pad->pfnDriverProc = (DRIVERPROC)GetProcAddress(pad->hDrvr, "DriverProc"); /* insert new pad at beg of list */ pad->pNextACMDriver = padid->pACMDriverList; Index: avifile-0.7.48~20090503.ds/plugins/libaudiodec/xa_gsm.c =================================================================== --- avifile-0.7.48~20090503.ds.orig/plugins/libaudiodec/xa_gsm.c +++ avifile-0.7.48~20090503.ds/plugins/libaudiodec/xa_gsm.c @@ -24,9 +24,9 @@ improvements that may be of general inte #include /* POD optional */ #include "xa_gsm.h" -void XA_MSGSM_Decoder(); -static void GSM_Decode(); -static void Gsm_RPE_Decoding(); +void XA_MSGSM_Decoder(XA_GSM_STATE *, unsigned char *, word *, ulongword *, ulongword *); +static void GSM_Decode(XA_GSM_STATE *, word *, word *, word *, word *, word *, word *, word *); +static void Gsm_RPE_Decoding(XA_GSM_STATE *, word, word, word *, word *); static short gsm_buf[320]; static XA_GSM_STATE gsm_state; @@ -118,7 +118,7 @@ unsigned long buff_size) return(ocnt); /* Quicktime and AVI used different formats */ // if (spec & 0x80) - XA_MSGSM_Decoder(&gsm_state, ibuf, gsm_buf, &icnt, &out_cnt); + XA_MSGSM_Decoder(&gsm_state, ibuf, gsm_buf, (ulongword *) &icnt, (ulongword *) &out_cnt); // printf("Read %d bytes into decoder\n", icnt); // else // XA_GSM_Decoder(&gsm_state, ibuf, gsm_buf, &icnt, &out_cnt);