diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-28 14:38:46 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-28 14:38:46 (GMT) |
| commit | a812c806619d185a0f16bfa431b848006ba98044 (patch) | |
| tree | 4870e029c9a9605d74b975bc9149229d9919d7be /generic/tclOOInt.h | |
| parent | 85a07c9ee77ce7896b939d10317de1449be880e2 (diff) | |
| parent | da423a1424e34834a64c209244ef64ca7c275f7d (diff) | |
| download | tcl-a812c806619d185a0f16bfa431b848006ba98044.zip tcl-a812c806619d185a0f16bfa431b848006ba98044.tar.gz tcl-a812c806619d185a0f16bfa431b848006ba98044.tar.bz2 | |
Merge 8.7
Diffstat (limited to 'generic/tclOOInt.h')
| -rw-r--r-- | generic/tclOOInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclOOInt.h b/generic/tclOOInt.h index 1f44ef8..b5b7d6c 100644 --- a/generic/tclOOInt.h +++ b/generic/tclOOInt.h @@ -671,7 +671,7 @@ MODULE_SCOPE void TclOOSetupVariableResolver(Tcl_Namespace *nsPtr); #undef DUPLICATE /* prevent possible conflict with definition in WINAPI nb30.h */ #define DUPLICATE(target,source,type) \ do { \ - unsigned len = sizeof(type) * ((target).num=(source).num);\ + size_t len = sizeof(type) * ((target).num=(source).num);\ if (len != 0) { \ memcpy(((target).list=(type*)ckalloc(len)), (source).list, len); \ } else { \ |
