From 1837db1ba7379e88af4692c9585650b6f172c3cb Mon Sep 17 00:00:00 2001 From: Josh Stillerman Date: Fri, 31 Mar 2023 09:11:03 -0400 Subject: [PATCH] Fix: Change public SendArg decl match private As per https://github.com/MDSplus/mdsplus/issues/2404, changed the public include to match the private one. MDSplus source code still compiles without warnings. --- include/ipdesc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ipdesc.h b/include/ipdesc.h index 75d370081d..40f6c10c88 100644 --- a/include/ipdesc.h +++ b/include/ipdesc.h @@ -43,7 +43,7 @@ extern "C" #define INVALID_CONNECTION_ID -1 extern int ConnectToMds(char *host); extern int SendArg(int s, unsigned char i, char dtype, unsigned char nargs, - short len, char ndims, int *dims, char *ptr); + unsigned short len, char ndims, int *dims, char *ptr); extern int GetAnswerInfo(int s, char *dtype, short *len, char *ndims, int *dims, int *nbytes, void **dptr); extern int DisconnectFromMds(int conid);