Richard,

On Sat, Aug 26, 2017 at 2:19 PM, Richard Hipp <d...@sqlite.org> wrote:
> On 8/26/17, Igor Korot <ikoro...@gmail.com> wrote:
>> Hi,
>> Is there a reason why the aforementioned function returns "const unsigned
>> char *" instead of just "const char *"?
>
> This is due to some bad planning that occurred about 15 years ago, but
> which must be carried forward to preserve 100% API compatibility.

It happens to the best of us. ;-)
Compatibility rules and it has to be preserved.

>
>>
>> Will I miss anything if I cast out "unsigned"?
>
> No.

Understood.

Thank you.

>
> --
> D. Richard Hipp
> d...@sqlite.org
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to