[x265] GCC: format warning in showHelp for default rc.bEnableGrain being no integer number

Mario *LigH* Rohkrämer contact at ligh.de
Thu Mar 10 17:02:52 CET 2016


In file included from  
h:/MSYS-GCC530/home/Entwicklung/x265/source/x265.cpp:30:0:
h:/MSYS-GCC530/home/Entwicklung/x265/source/x265cli.h: In function 'void  
x265::showHelp(x265_param*)':
h:/MSYS-GCC530/home/Entwicklung/x265/source/x265cli.h:381:166: warning:  
format '%d' expects argument of type 'int', but argument 2 has type 'const  
char*' [-Wformat=]
      H0("   --[no-]rc-grain               Enable ratecontrol mode to  
handle grains specifically. turned on with tune grain. Default %d\n",  
OPT(param->rc.bEnableGrain));
                                                                                                                                                                       ^
-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
 


More information about the x265-devel mailing list