diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-04 19:35:28 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-04 19:35:28 (GMT) |
commit | d8b88cab22bb8d82510379e24e79ad08690ed95f (patch) | |
tree | bbddf359ed11e58d0f76fb3b63cbaddf3bfeb895 /generic/tclAlloc.c | |
parent | 38d067d93669ebb3ac729cae51029cada03d46b5 (diff) | |
download | tcl-d8b88cab22bb8d82510379e24e79ad08690ed95f.zip tcl-d8b88cab22bb8d82510379e24e79ad08690ed95f.tar.gz tcl-d8b88cab22bb8d82510379e24e79ad08690ed95f.tar.bz2 |
Two places where "char *" is actually better than "void *", since that's the type the function returns
Diffstat (limited to 'generic/tclAlloc.c')
-rw-r--r-- | generic/tclAlloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclAlloc.c b/generic/tclAlloc.c index bad3d8a..c02c7e4 100644 --- a/generic/tclAlloc.c +++ b/generic/tclAlloc.c @@ -304,7 +304,7 @@ TclpAlloc( #endif Tcl_MutexUnlock(allocMutexPtr); - return (void *)(overPtr+1); + return (char *)(overPtr+1); } /* @@ -592,7 +592,7 @@ TclpRealloc( } if (expensive) { - void *newPtr; + char *newPtr; Tcl_MutexUnlock(allocMutexPtr); |