summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreask@activestate.com <andreas_kupries>2007-01-22 23:27:52 (GMT)
committerandreask@activestate.com <andreas_kupries>2007-01-22 23:27:52 (GMT)
commit8c85c872bc91c836e8163a115e0b66d1d721ab06 (patch)
tree0086994a2642d5c5ba0411e49a3009d728a3c392
parent06a8aab748fbe0ef46ef1fb4edb1bba68af19367 (diff)
downloadtcl-8c85c872bc91c836e8163a115e0b66d1d721ab06.zip
tcl-8c85c872bc91c836e8163a115e0b66d1d721ab06.tar.gz
tcl-8c85c872bc91c836e8163a115e0b66d1d721ab06.tar.bz2
* compat/memcmp.c (memcmp): Fixed the VOID / CONST typo introduced
by the last checkin.
-rw-r--r--ChangeLog5
-rw-r--r--compat/memcmp.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a1eeba0..c667c10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-22 Andreas Kupries <andreask@activestate.com>
+
+ * compat/memcmp.c (memcmp): Fixed the VOID / CONST typo introduced
+ by the last checkin.
+
2007-01-22 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* compat/memcmp.c (memcmp): Reworked so that arithmetic is never
diff --git a/compat/memcmp.c b/compat/memcmp.c
index dd4cacc..b1c12a9 100644
--- a/compat/memcmp.c
+++ b/compat/memcmp.c
@@ -48,8 +48,8 @@ memcmp(s1, s2, n)
CONST VOID *s2; /* Second string. */
size_t n; /* Length to compare. */
{
- VOID unsigned char *ptr1 = (VOID unsigned char *) s1;
- VOID unsigned char *ptr2 = (VOID unsigned char *) s2;
+ CONST unsigned char *ptr1 = (CONST unsigned char *) s1;
+ CONST unsigned char *ptr2 = (CONST unsigned char *) s2;
for ( ; n-- ; ptr1++, ptr2++) {
unsigned char u1 = *s1, u2 = *s2;