diff options
author | Björn Esser <besser82@fedoraproject.org> | 2021-06-13 12:24:23 +0200 |
---|---|---|
committer | Björn Esser <besser82@fedoraproject.org> | 2021-06-13 12:41:48 +0200 |
commit | ab819b18673ddce6d9ded84e412cff6b26e394fa (patch) | |
tree | 92b4eaba9458b50f1517f07147333d3b91bf396c | |
parent | 9f39b280c705de2806650c23f0b2bbb5f1319e54 (diff) | |
download | libxcrypt-ab819b18673ddce6d9ded84e412cff6b26e394fa.tar.gz libxcrypt-ab819b18673ddce6d9ded84e412cff6b26e394fa.tar.bz2 libxcrypt-ab819b18673ddce6d9ded84e412cff6b26e394fa.zip |
test/des-obsolete.c: Fix Werror=conversion.
-rw-r--r-- | test/des-obsolete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/des-obsolete.c b/test/des-obsolete.c index 2955c87..2259e81 100644 --- a/test/des-obsolete.c +++ b/test/des-obsolete.c @@ -29,7 +29,7 @@ expand (unsigned char ex[64], const unsigned char pk[8]) { t = pk[i]; for (j = 0; j < 8; j++) - ex[i*8 + j] = (t & (0x01u << (7 - j))) != 0; + ex[i*8 + j] = (unsigned char)((t & (0x01u << (7 - j))) != 0); } } |