]> git.alsa-project.org Git - tinycompress.git/commit
crecord: fix incorrect print specifier warning
authorVinod Koul <vinod.koul@intel.com>
Thu, 19 Apr 2018 06:11:31 +0000 (11:41 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 19 Apr 2018 06:30:35 +0000 (12:00 +0530)
commitafe145bc390f04aefc33af0ae17371bee7026c38
treebc37e24f3c7e85fae25906c90764340484a9f53b
parent20b8a99a78f3d743f74a30bff47bd259e04663e8
crecord: fix incorrect print specifier warning

We get a warning in crecord for incorrect print specifier, fix it by using
right one %u for unsigned int

crecord.c:380:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘unsigned int’ [-Wformat=]
  fprintf(finfo, "Recording file %s On Card %u device %u, with buffer of %lu bytes\n",

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
src/utils/crecord.c