diff options
author | treectrl <treectrl> | 2007-12-14 20:26:33 (GMT) |
---|---|---|
committer | treectrl <treectrl> | 2007-12-14 20:26:33 (GMT) |
commit | 778a7aff1e2338c3686ee8941cc92130cce75f4e (patch) | |
tree | 14e7e989c2859b73f561d71ac2745be4b3a89581 /generic | |
parent | 5287f5685446389383afde3b09165b278ba7a4cd (diff) | |
download | tktreectrl-778a7aff1e2338c3686ee8941cc92130cce75f4e.zip tktreectrl-778a7aff1e2338c3686ee8941cc92130cce75f4e.tar.gz tktreectrl-778a7aff1e2338c3686ee8941cc92130cce75f4e.tar.bz2 |
Fixed a comment.
Cast as "void *" two arguments to memcpy to shutup MSVC compiler.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkTreeUtils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkTreeUtils.c b/generic/tkTreeUtils.c index fa6c6ed..14afcd6 100644 --- a/generic/tkTreeUtils.c +++ b/generic/tkTreeUtils.c @@ -5,7 +5,7 @@ * * Copyright (c) 2002-2006 Tim Baker * - * RCS: @(#) $Id: tkTreeUtils.c,v 1.68 2007/05/11 03:47:59 hobbs2 Exp $ + * RCS: @(#) $Id: tkTreeUtils.c,v 1.69 2007/12/14 20:26:33 treectrl Exp $ */ #include "tkTreeCtrl.h" @@ -185,7 +185,7 @@ DStringAppendf( /* *---------------------------------------------------------------------- * - * Ellipsis -- + * Tree_Ellipsis -- * * Determine the number of bytes from the string that will fit * in the given horizontal span. If the entire string does not @@ -4133,7 +4133,7 @@ TagInfo_Copy( #else copy = (TagInfo *) ckalloc(TAG_INFO_SIZE(tagSpace)); #endif - memcpy(copy->tagPtr, tagInfo->tagPtr, tagInfo->numTags * sizeof(Tk_Uid)); + memcpy((void *) copy->tagPtr, tagInfo->tagPtr, tagInfo->numTags * sizeof(Tk_Uid)); copy->numTags = tagInfo->numTags; copy->tagSpace = tagSpace; } @@ -4521,7 +4521,7 @@ TagExpr_Scan( } else { expr->uids = (Tk_Uid *) ckalloc((expr->allocated)*sizeof(Tk_Uid)); - memcpy(expr->uids, expr->staticUids, sizeof(expr->staticUids)); + memcpy((void *) expr->uids, expr->staticUids, sizeof(expr->staticUids)); } } |