[PATCH:libX11 14/22] Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName()

Alan Coopersmith alan.coopersmith at oracle.com
Thu Aug 15 23:25:43 PDT 2013


On 08/12/13 07:07 AM, walter harms wrote:
>> +    if (_XlcLocaleLibDirName(lc_lib_dir, BUFSIZE, lc_name) == (char*)NULL)
>>   	return (XLCd)NULL;
>>
>
> "== (char*)NULL" ?? why not "== NULL" ?

Mainly because I wasn't looking at that side and didn't notice.  Fixed now.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list