[Patch] Fixing signed vs. unsigned char* warnings
Peter McCurdy
petermccurdy at alumni.uwaterloo.ca
Tue Sep 2 10:07:45 PDT 2008
On Tue, Sep 2, 2008 at 3:14 AM, Thiago Macieira <thiago at kde.org> wrote:
> Peter McCurdy wrote:
>>So since I was a bit bored this weekend, and since my previous "fix
>>the time_t warnings" patch seemed to go over OK, I followed through on
>>my threat to start fixing the signed vs. unsigned char* compiler
>>warnings in dbus.
>
> Have you tested a platform where "char" is unsigned, like ARM?
Ah, I didn't realize DBus supported such platforms.
I don't have access to an ARM system or anything esoteric, but I did
rebuild with -funsigned-char, and "make check" still passes fine.
This makes sense, as I none of the code I changed now assumes that
chars are signed, so it's effectively running in exactly the same way
as it used to.
Peter.
More information about the dbus
mailing list