diff options
-rw-r--r-- | src/Varargs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Varargs.c b/src/Varargs.c index 6c9f9ee..13bf86d 100644 --- a/src/Varargs.c +++ b/src/Varargs.c @@ -234,6 +234,8 @@ TypedArgToArg( else { if (to_val.size == sizeof(long)) arg_return->value = (XtArgVal) *(long *)to_val.addr; + else if (to_val.size == sizeof(int)) + arg_return->value = (XtArgVal) *(int *)to_val.addr; else if (to_val.size == sizeof(short)) arg_return->value = (XtArgVal) *(short *)to_val.addr; else if (to_val.size == sizeof(char)) |