[rfa/testsuite/threads] fix gcc signed/unsigned warning
Michael Chastain
mec.gnu@mindspring.com
Fri Aug 27 11:23:00 GMT 2004
Michael Snyder <msnyder@redhat.com> wrote:
> But if you want to just do this, it's OK with me.
Yay, committed.
> Well, it really looks to me as if either args should be
> signed, or myp should be unsigned. The test will work
> either way, although signed would "feel" safer.
I fooled around with this. I couldn't find something that was type-safe
and felt exactly like the old test. So I decided "one thing at a time"
-- first make it compile like it did with old compilers, then later, fix
the signed/unsigned muddle.
I've filed a PR for the signed/unsigned part.
===
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
Fix PR testsuite/1735.
* gdb.threads/schedlock.c (thread_function): Add a cast
to suppress a gcc warning.
* gdb.threads/thread-specific.c (thread_function): Likewise.
More information about the Gdb-patches
mailing list