diff options
author | kennykb <kennykb@noemail.net> | 2006-11-13 22:39:55 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2006-11-13 22:39:55 (GMT) |
commit | 5cc6384b9ae213b0d5c02c1593006501b0720579 (patch) | |
tree | 31fdb9953de50645a5720a4a5bd9a7109b37fa81 /generic/tclThreadStorage.c | |
parent | 3e28d01025add66e4869fd49fe42a9b676dcfc8b (diff) | |
download | tcl-5cc6384b9ae213b0d5c02c1593006501b0720579.zip tcl-5cc6384b9ae213b0d5c02c1593006501b0720579.tar.gz tcl-5cc6384b9ae213b0d5c02c1593006501b0720579.tar.bz2 |
Silence a compiler warining about presenting a volatile pointer to 'memset'
FossilOrigin-Name: 5c38f9e884eabbee6d895f954d7efa236d29fab4
Diffstat (limited to 'generic/tclThreadStorage.c')
-rw-r--r-- | generic/tclThreadStorage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclThreadStorage.c b/generic/tclThreadStorage.c index c0ab032..9f25c32 100644 --- a/generic/tclThreadStorage.c +++ b/generic/tclThreadStorage.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclThreadStorage.c,v 1.11 2006/11/13 08:23:09 das Exp $ + * RCS: @(#) $Id: tclThreadStorage.c,v 1.12 2006/11/13 22:39:56 kennykb Exp $ */ #include "tclInt.h" @@ -299,7 +299,7 @@ TclInitThreadStorage(void) * We also initialize the cache. */ - memset(&threadStorageCache, 0, + memset((void*) &threadStorageCache, 0, sizeof(ThreadStorage) * STORAGE_CACHE_SLOTS); /* @@ -529,7 +529,7 @@ TclFinalizeThreadStorage(void) * Clear out the thread storage cache as well. */ - memset(&threadStorageCache, 0, + memset((void*) &threadStorageCache, 0, sizeof(ThreadStorage) * STORAGE_CACHE_SLOTS); /* |