From 04e1c12304f6c31edd1b6b0d4f1e33826038c659 Mon Sep 17 00:00:00 2001 From: coshcage <58808125+coshcage@users.noreply.github.com> Date: Sat, 6 Apr 2024 15:53:02 +0000 Subject: [PATCH] Add files via upload --- src/sitable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sitable.c b/src/sitable.c index 2200247..ca0dee7 100644 --- a/src/sitable.c +++ b/src/sitable.c @@ -468,7 +468,7 @@ BOOL siInsertIntoTable(P_TRANS ptrans, P_TABLE ptbl, ...) switch (pt->ct) { case CT_CHAR: - cd.c = (char)va_arg(arg, char); + cd.c = (char)va_arg(arg, int); pc = siCreateCell(&cd.c, pt->ct); if (NULL != pt->phsh) { @@ -485,7 +485,7 @@ BOOL siInsertIntoTable(P_TRANS ptrans, P_TABLE ptbl, ...) } break; case CT_SHORT: - cd.s = va_arg(arg, short); + cd.s = va_arg(arg, int); pc = siCreateCell(&cd.s, pt->ct); if (NULL != pt->phsh) {