Bug 4898 - Iconv call missing a "const", and fix
Iconv call missing a "const", and fix
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.9
All All
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-19 13:41 UTC by David S. Collier-Brown
Modified: 2007-08-19 13:42 UTC (History)
0 users

See Also:


Attachments
Fix for an erronious cast (376 bytes, patch)
2007-08-19 13:42 UTC, David S. Collier-Brown
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David S. Collier-Brown 2007-08-19 13:41:02 UTC
gcc says
lib/iconv.c:140: warning: passing arg 2 of `libiconv' from incompatible pointer
In fact, it's a missed "const" in the cast, to match the definition
of Gnu (and Solaris) iconv.  Patch attached, saith the janitor (;-))
Comment 1 David S. Collier-Brown 2007-08-19 13:42:03 UTC
Created attachment 2872 [details]
Fix for an erronious cast