quieting clang-tidy, use unsigned

places where we shouldn't be negative anyway
This commit is contained in:
Michael Davidsaver
2023-06-13 12:17:38 -07:00
parent a7a56912eb
commit 403e203325
2 changed files with 5 additions and 5 deletions

View File

@@ -366,7 +366,7 @@ long epicsStdCall asAddClient(ASCLIENTPVT *pasClientPvt,ASMEMBERPVT asMemberPvt,
{
ASGMEMBER *pasgmember = asMemberPvt;
ASGCLIENT *pasgclient;
int len, i;
size_t len, i;
long status;
if(!asActive) return(S_asLib_asNotActive);
@@ -394,7 +394,7 @@ long epicsStdCall asChangeClient(
{
ASGCLIENT *pasgclient = asClientPvt;
long status;
int len, i;
size_t len, i;
if(!asActive) return(S_asLib_asNotActive);
if(!pasgclient) return(S_asLib_badClient);

View File

@@ -63,7 +63,7 @@ GPHENTRY * epicsStdCall gphFindParse(gphPvt *pgphPvt, const char *name, size_t l
ELLLIST **paplist;
ELLLIST *gphlist;
GPHENTRY *pgphNode;
int hash;
unsigned hash;
if (pgphPvt == NULL) return NULL;
paplist = pgphPvt->paplist;
@@ -99,7 +99,7 @@ GPHENTRY * epicsStdCall gphAdd(gphPvt *pgphPvt, const char *name, void *pvtid)
ELLLIST **paplist;
ELLLIST *plist;
GPHENTRY *pgphNode;
int hash;
unsigned hash;
if (pgphPvt == NULL) return NULL;
paplist = pgphPvt->paplist;
@@ -144,7 +144,7 @@ void epicsStdCall gphDelete(gphPvt *pgphPvt, const char *name, void *pvtid)
ELLLIST **paplist;
ELLLIST *plist = NULL;
GPHENTRY *pgphNode;
int hash;
unsigned hash;
if (pgphPvt == NULL) return;
paplist = pgphPvt->paplist;