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

Simo Sorce ssorce at redhat.com
Thu Apr 9 19:47:20 UTC 2009


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.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Keep-const-values-as-const.patch
Type: text/x-patch
Size: 4845 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090409/80295b57/attachment.bin>


More information about the Freeipa-devel mailing list