On May 27, 2009, at 9:36 AM, Maurí cio wrote:

> Hi,
>
> I see that in most functions strings are typed as
>
>     char *
>
> while in 'sqlite_column_text' and 'sqlite_value_text'
> they are typed as
>
>     unsigned char *
>

That was just bad design on my part.  I don't know what I was thinking  
when I did that.  It has been a pain for everyone to deal with ever  
since.  But we cannot change it now without breaking compatibility.

On the other hand, as long as you use the characters as characters and  
not as integers, does it really matter if they are signed or  
unsigned?  Just cast the result to whatever you need and it will work.


D. Richard Hipp
d...@hwaci.com



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to