We get a warning in cplay for incorrect print specifier, fix it by using
right one %ld for long unsigned int.
cplay.c:327:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
fprintf(stderr, "codec ID %d is not supported\n", codec_id);
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
get_codec_iec(file, &config, &codec);
break;
default:
- fprintf(stderr, "codec ID %d is not supported\n", codec_id);
+ fprintf(stderr, "codec ID %ld is not supported\n", codec_id);
exit(EXIT_FAILURE);
}