Re: Capi compilation error after latest commits
Patrick Lists <misdn-list-tT6WbRwY5jipaK3yNG/KFWZHpeb/A1Y/@public.gmane.org>
| Newsgroups | gmane.linux.isdn.i4l.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Karsten,
On 08-05-12 10:41, Karsten Keil wrote:
>> Yes this move was wrong and need to be reverted.
>>
>
> done.
Thanks.
[snip]
> For now use this patch (untested):
>
> diff --git a/capi20/module/capi_mod_misdn.c b/capi20/module/capi_mod_misdn.c
> index 5e0b765..9eb0912 100644
> --- a/capi20/module/capi_mod_misdn.c
> +++ b/capi20/module/capi_mod_misdn.c
> @@ -160,9 +160,9 @@ static void misdnWriteCapiTrace(int nSend, unsigned
> char *pnBuffer, int nLength,
> * \brief Check if misdn interface is available
> * \return file descriptor of socket, or error code
> */
> -static unsigned misdnIsInstalled(void)
> +static int misdnIsInstalled(void)
> {
> - unsigned nHandle;
> + int nHandle;
>
> nHandle = misdnOpenSocket();
> #ifdef MISDND_CAPI_MODULE_DEBUG
Works for me :)
Thanks again.
Regards,
Patrick