[Freeipa-devel] [PATCH] fixes and corrections for locale

Dmitri Pal dpal at redhat.com
Thu Apr 9 19:56:27 UTC 2009


Stephen Gallagher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Simo Sorce wrote:
>   
>> On Wed, 2009-04-08 at 20:48 -0400, Dmitri Pal wrote:
>>     
>>> I also checked code for the type casting of "const char *" to "char
>>> *" 
>>> in my recent patch and did not see a place that Simo was concerned
>>> about 
>>> so I do not know what to change  if anything.
>>>       
>> get_item_data() is declared as returning const void *
>>
>> The attached patch (that I'd like to merge in the patches sent on this
>> thread before pushing) turns all castings of get_item_data() from (char
>> *) to (const char *)
>>
>> Simo.
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Freeipa-devel mailing list
>> Freeipa-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-devel
>>     
>
> Ack
>
> - --
> Stephen Gallagher
> RHCE 804006346421761
>
> Looking to carve out IT costs?
> www.redhat.com/carveoutcosts/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkneUXsACgkQeiVVYja6o6OIMQCfZwTV5pOJRpWTQTkLAEXJhH50
> bYoAn1Qb11NtW8LAvHPzjFEkAZWYPYyc
> =FrVe
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
>   
nack - this data is void * it is not always char* it should be  const 
void * but can't be const char *.
 

-- 
Thank you,
Dmitri Pal

Engineering Manager IPA project,
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/




More information about the Freeipa-devel mailing list