Forced cast to unsigned int for %u format in the ecdsa application

This commit is contained in:
Paul Bakker 2013-12-30 19:15:48 +01:00
parent ec4bea7eee
commit caf0e60969

View file

@ -162,7 +162,7 @@ int main( int argc, char *argv[] )
printf( " failed\n ! ecdsa_genkey returned %d\n", ret );
goto exit;
}
printf( " ok (signature length = %u)\n", sig_len );
printf( " ok (signature length = %u)\n", (unsigned int) sig_len );
dump_buf( " + Hash: ", hash, sizeof hash );
dump_buf( " + Signature: ", sig, sig_len );