From: Markus Armbruster Date: Sun, 5 Feb 2006 19:16:37 +0000 (+0000) Subject: (verify_row): Fix for flags that don't fit into int. X-Git-Tag: PZ5~97 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=1feb0c433df12aba2355cb3dcac6a36fb0b469fe (verify_row): Fix for flags that don't fit into int. --- diff --git a/src/lib/common/ef_verify.c b/src/lib/common/ef_verify.c index 9e26ac4bb..61017507c 100644 --- a/src/lib/common/ef_verify.c +++ b/src/lib/common/ef_verify.c @@ -87,8 +87,8 @@ verify_row(int type, int row) continue; } for (k = 0; k < (int)sizeof(long) * 8; k++) { - if (val.val_as.lng & (1 << k)) - if (!symbol_by_value(1 << k, ef_ptr(ca[i].ca_table, 0))) { + if (val.val_as.lng & (1L << k)) + if (!symbol_by_value(1L << k, ef_ptr(ca[i].ca_table, 0))) { fprintf(stderr, "bit %d not found in symbol table %s " "when verify table %s row %d field %s\n",