mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
sm: small fix for GCC 6.
* sm/export.c (insert_duptable): Use unsigned 0. -- We can silence message with -Wshift-negative-value. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
fbe1cf67aa
commit
d33a34004b
@ -103,7 +103,7 @@ insert_duptable (duptable_t *table, unsigned char *fpr, int *exists)
|
||||
#error cannot handle a table larger than 16 bits or smaller than 8 bits
|
||||
#elif DUPTABLE_BITS > 8
|
||||
idx <<= (DUPTABLE_BITS - 8);
|
||||
idx |= (fpr[1] & ~(~0 << 4));
|
||||
idx |= (fpr[1] & ~(~0U << 4));
|
||||
#endif
|
||||
|
||||
for (t = table[idx]; t; t = t->next)
|
||||
|
Loading…
x
Reference in New Issue
Block a user