summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2007-01-22 23:27:52 (GMT)
committerandreas_kupries <akupries@shaw.ca>2007-01-22 23:27:52 (GMT)
commitb7884b778eca2e1db87e43da5c0b092b379644ef (patch)
tree0086994a2642d5c5ba0411e49a3009d728a3c392 /compat
parent6ac7a0dfda687f507052c581d0c0f3b685e246cd (diff)
downloadtcl-b7884b778eca2e1db87e43da5c0b092b379644ef.zip
tcl-b7884b778eca2e1db87e43da5c0b092b379644ef.tar.gz
tcl-b7884b778eca2e1db87e43da5c0b092b379644ef.tar.bz2
* compat/memcmp.c (memcmp): Fixed the VOID / CONST typo introduced
by the last checkin.
Diffstat (limited to 'compat')
-rw-r--r--compat/memcmp.c4
1 files changed, 2 insertions, 2 deletions
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;