(verify_row): Fix for flags that don't fit into int.

This commit is contained in:
Markus Armbruster 2006-02-05 19:16:37 +00:00
parent 1e17cc77cb
commit 1feb0c433d

View file

@ -87,8 +87,8 @@ verify_row(int type, int row)
continue; continue;
} }
for (k = 0; k < (int)sizeof(long) * 8; k++) { for (k = 0; k < (int)sizeof(long) * 8; k++) {
if (val.val_as.lng & (1 << k)) if (val.val_as.lng & (1L << k))
if (!symbol_by_value(1 << k, ef_ptr(ca[i].ca_table, 0))) { if (!symbol_by_value(1L << k, ef_ptr(ca[i].ca_table, 0))) {
fprintf(stderr, fprintf(stderr,
"bit %d not found in symbol table %s " "bit %d not found in symbol table %s "
"when verify table %s row %d field %s\n", "when verify table %s row %d field %s\n",