]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Remove three unnecessary compile-time warnings.
authorNicholas Nethercote <n.nethercote@gmail.com>
Wed, 25 Aug 2004 13:33:17 +0000 (13:33 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Wed, 25 Aug 2004 13:33:17 +0000 (13:33 +0000)
commit29d59df719aa2b396161aad342446689041c317f
treed6b28917baeca309e6780f29458ec613635ab0e3
parentdbff330cf40d92d5fcc052077a0ba92e9a34ca9b
Remove three unnecessary compile-time warnings.

Two were trivial.  The one for strncmp is slightly trickier;  you have to be
careful with the signedness of chars when comparing them... but the code
already casts s1 and s2 to (unsigned char*) before comparing them, so it's not
a problem.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2618
memcheck/mac_replace_strmem.c