Обсуждение: compiling dlg_specific.c file on Sun Solaris 5.8

Поиск
Список
Период
Сортировка

compiling dlg_specific.c file on Sun Solaris 5.8

От
Marcin Ligorowski
Дата:
I've detected problem with compiling dlg_specific.c file on Sun Solaris 5.8 using compiler 'cc: Sun C 5.8 2005/10/13'.
To resolve this problem I've changed line 896 to
qlog("          conn_settings='%s',conn_encoding='%s'\n",
ci->conn_settings, enc ? enc : (UCHAR*)"(null)");

I've added cast to (UCHAR*), because compiler can not automatically cast to correct type.

Regards
Marcin


----------------------------------------------------------------------
Tanie rozmowy!
Sprawdz >>>  http://link.interia.pl/f1e91


Re: compiling dlg_specific.c file on Sun Solaris 5.8

От
Hiroshi Inoue
Дата:
Marcin Ligorowski wrote:
> I've detected problem with compiling dlg_specific.c file on Sun Solaris 5.8 using compiler 'cc: Sun C 5.8
2005/10/13'.
> To resolve this problem I've changed line 896 to
> qlog("          conn_settings='%s',conn_encoding='%s'\n",
> ci->conn_settings, enc ? enc : (UCHAR*)"(null)");
>
> I've added cast to (UCHAR*), because compiler can not automatically cast to correct type.

OK I would take care of it.
Thanks.

regards,
Hiroshi Inoue