modified get_precision to return 2 for HIGH field
This commit is contained in:
+1
-3
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user