summaryrefslogtreecommitdiff
path: root/src/Callback.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-05-05 20:49:13 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-05-06 18:03:25 -0400
commitfb1d51d4da8f303e92c8b30e4503dc7f9c01b3a8 (patch)
treea004bdee1677b5d92df216fab69f1f476213cc8e /src/Callback.c
parent5ee9a5d2de4e50552e50247e745f92b61f9784c0 (diff)
fix 5 more simple gcc warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Callback.c')
-rw-r--r--src/Callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Callback.c b/src/Callback.c
index 842f5e2..a04a8bc 100644
--- a/src/Callback.c
+++ b/src/Callback.c
@@ -125,7 +125,7 @@ void _XtAddCallback(
__XtMalloc((Cardinal) (sizeof(InternalCallbackRec) +
sizeof(XtCallbackRec) * (size_t) (count + 1)));
(void) memmove((char *)ToList(icl), (char *)ToList(*callbacks),
- sizeof(XtCallbackRec) * count);
+ sizeof(XtCallbackRec) * (size_t) count);
} else {
icl = (InternalCallbackList)
XtRealloc((char *) icl, (Cardinal)(sizeof(InternalCallbackRec) +