diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-05-06 16:09:04 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-05-06 18:04:02 -0400 |
commit | a9c54d128ac65a8fa065ef28cd51c42981949c60 (patch) | |
tree | 732b2f1d2cef08d86f629abf684100b2e201d313 /src/Intrinsic.c | |
parent | 9112c3c104f0b3ec45ae776279e276034bc7dcc5 (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.c | 2 |
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] == ':') { |