diff options
Diffstat (limited to 'gnulib-tests/test-md5.c')
-rw-r--r-- | gnulib-tests/test-md5.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnulib-tests/test-md5.c b/gnulib-tests/test-md5.c index b86cca85..68278b1b 100644 --- a/gnulib-tests/test-md5.c +++ b/gnulib-tests/test-md5.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005, 2009-2014 Free Software Foundation, Inc. + * Copyright (C) 2005, 2009-2015 Free Software Foundation, Inc. * Written by Simon Josefsson * * This program is free software: you can redistribute it and/or modify @@ -42,10 +42,10 @@ main (void) size_t i; printf ("expected:\n"); for (i = 0; i < MD5_DIGEST_SIZE; i++) - printf ("%02x ", out1[i] & 0xFF); + printf ("%02x ", out1[i] & 0xFFu); printf ("\ncomputed:\n"); for (i = 0; i < MD5_DIGEST_SIZE; i++) - printf ("%02x ", buf[i] & 0xFF); + printf ("%02x ", buf[i] & 0xFFu); printf ("\n"); return 1; } @@ -55,10 +55,10 @@ main (void) size_t i; printf ("expected:\n"); for (i = 0; i < MD5_DIGEST_SIZE; i++) - printf ("%02x ", out2[i] & 0xFF); + printf ("%02x ", out2[i] & 0xFFu); printf ("\ncomputed:\n"); for (i = 0; i < MD5_DIGEST_SIZE; i++) - printf ("%02x ", buf[i] & 0xFF); + printf ("%02x ", buf[i] & 0xFFu); printf ("\n"); return 1; } |