diff options
Diffstat (limited to 'src/VarGet.c')
-rw-r--r-- | src/VarGet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VarGet.c b/src/VarGet.c index 63930da..b377f07 100644 --- a/src/VarGet.c +++ b/src/VarGet.c @@ -246,7 +246,7 @@ XtVaGetValues(Widget widget, ...) if (total_count != typed_count) { size_t limit = (size_t) (total_count - typed_count); - args = (ArgList) __XtMalloc((unsigned) (limit * sizeof(Arg))); + args = XtMallocArray((Cardinal) limit, (Cardinal) sizeof(Arg)); } else args = NULL; /* for lint; really unused */ |