On Tue, Jan 16, 2018 at 7:26 PM, <as...@multicorewareinc.com> wrote: > # HG changeset patch > # User Ashok Kumar Mishra <as...@multicorewareinc.com> > # Date 1516110926 -19800 > # Tue Jan 16 19:25:26 2018 +0530 > # Node ID 46dbea16db6790ce7671818b67faca017be5fc02 > # Parent ffdb4a8eda9a69d10a5354a7b41b8a77bd2041d0 > Change type of bufSize variable to size_t to avoid warning. > > diff -r ffdb4a8eda9a -r 46dbea16db67 source/common/param.cpp > --- a/source/common/param.cpp Sat Jan 13 00:37:31 2018 +0100 > +++ b/source/common/param.cpp Tue Jan 16 19:25:26 2018 +0530 > @@ -1530,7 +1530,7 @@ > char *x265_param2string(x265_param* p, int padx, int pady) > { > char *buf, *s; > - int bufSize = 4000 + p->rc.zoneCount * 64; > + size_t bufSize = 4000 + p->rc.zoneCount * 64; > if (p->numaPools) > bufSize += strlen(p->numaPools); > if (p->masteringDisplayColorVolume) >
Pushed.
_______________________________________________ x265-devel mailing list x265-devel@videolan.org https://mailman.videolan.org/listinfo/x265-devel