summaryrefslogtreecommitdiff
path: root/src/Intrinsic.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-05-06 16:09:04 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-05-06 18:04:02 -0400
commita9c54d128ac65a8fa065ef28cd51c42981949c60 (patch)
tree732b2f1d2cef08d86f629abf684100b2e201d313 /src/Intrinsic.c
parent9112c3c104f0b3ec45ae776279e276034bc7dcc5 (diff)
if Xalloca.h is corrected to use size_t param, one change is still needed in
libXt to fix compiler warnings - done here.
Diffstat (limited to 'src/Intrinsic.c')
-rw-r--r--src/Intrinsic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Intrinsic.c b/src/Intrinsic.c
index 55df39a..920ff07 100644
--- a/src/Intrinsic.c
+++ b/src/Intrinsic.c
@@ -1388,7 +1388,7 @@ _XtString XtResolvePathname(
}
bytesAllocd = bytesLeft = 1000;
- massagedPath = ALLOCATE_LOCAL(bytesAllocd);
+ massagedPath = ALLOCATE_LOCAL((size_t)bytesAllocd);
if (massagedPath == NULL) _XtAllocError(NULL);
if (path[0] == ':') {