[redland-dev] Minor bug fix
Dave Beckett
dave.beckett at bristol.ac.uk
Mon Oct 20 11:31:21 BST 2003
On Fri, 17 Oct 2003 17:20:20 +0100, Paul Keogh <paul.keogh at anam.com> wrote:
>
> Compiler says
>
> D:\dev\redland-0.9.14\librdf\rdf_utf8.c(107) : warning C4028: formal
> parameter 1 different from declaration
>
> Declaration says
>
> int librdf_unicode_char_to_utf8(const librdf_unichar c, byte *output, int
> length);
>
> Code is
>
> int
> librdf_unicode_char_to_utf8(librdf_unichar c, byte *output, int length)
> {
Thanks - there are surely more of those; I've not been using const
very consistently (or unsigned near char) so I should do some more checking.
In this case the header is wrong, no const is appropriate.
Dave
More information about the redland-dev
mailing list