diff options
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/ecpg/preproc/preproc.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index 0d12a10b8e..b4a9d77756 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -3116,10 +3116,10 @@ Bit: bit '(' Iconst ')' sprintf(errortext,"length for type '%s' must be at least 1",$1); mmerror(ET_ERROR, errortext); } - else if (atol($3) > (MaxAttrSize * BITSPERBYTE)) + else if (atol($3) > (MaxAttrSize * BITS_PER_BYTE)) { sprintf(errortext, "length for type '%s' cannot exceed %d", $1, - (MaxAttrSize * BITSPERBYTE)); + (MaxAttrSize * BITS_PER_BYTE)); mmerror(ET_ERROR, errortext); } } |
