modified get_precision to return 2 for HIGH field

This commit is contained in:
Janet B. Anderson
1993-11-05 09:14:40 +00:00
parent 4fb084c3d8
commit 7a7e03269c
+1 -3
View File
@@ -329,9 +329,7 @@ static long get_precision(paddr,precision)
{
struct boRecord *pbo=(struct boRecord *)paddr->precord;
*precision = pbo->prec;
if(paddr->pfield == (void *)&pbo->val) return(0);
recGblGetPrec(paddr,precision);
if(paddr->pfield == (void *)&pbo->high) return(2);
return(0);
}