Various misc warnings

This commit is contained in:
Andrew Johnson
2023-12-24 18:02:28 +00:00
parent 918a188285
commit 7890e67d37
4 changed files with 7 additions and 7 deletions

View File

@ -307,7 +307,7 @@ typedef struct lset {
*
* @param plink the link
* @param dbrType data type code
* @param pbuffer where to put the value
* @param pbuffer where the data is
* @param nRequest number of elements to send
* @returns status value
*/
@ -324,7 +324,7 @@ typedef struct lset {
*
* @param plink the link
* @param dbrType data type code
* @param pbuffer where to put the value
* @param pbuffer where the data is
* @param nRequest number of elements to send
* @returns status value
*/

View File

@ -36,7 +36,7 @@ struct compareLoc {
return true;
else if(lhs.prset>rhs.prset)
return false;
return lhs.sizeOffset<rhs.sizeOffset;
return (char *)lhs.sizeOffset < (char *)rhs.sizeOffset;
}
};

View File

@ -98,13 +98,10 @@ static void clean_addrq(struct client *client)
}
epicsMutexUnlock ( client->chanListLock );
# ifdef DEBUG
if(ndelete){
if (CASDEBUG>1 && ndelete){
epicsPrintf ("CAS: %d CA channels have expired after %f sec\n",
ndelete, maxdelay);
}
# endif
}
/*

View File

@ -120,6 +120,9 @@ void doMulti(workerPriv *p)
}
dbScanUnlockMany(locker);
if (0)
testDiag("sum = %d", sum);
dbLockerFree(locker);
}