summaryrefslogtreecommitdiffstats
path: root/libass/ass_blur.c
diff options
context:
space:
mode:
authorOneric <oneric@oneric.stub>2020-10-18 22:35:21 +0200
committerOleg Oshmyan <chortos@inbox.lv>2020-10-27 01:03:04 +0200
commit910211f1c0078e37546f73e95306724358b89be2 (patch)
tree901db828d64f9464a68a5958b0655985bc3d2c06 /libass/ass_blur.c
parent241e6137a5c9a4bfccbea48ce9eac75f7f13a784 (diff)
downloadlibass-910211f1c0078e37546f73e95306724358b89be2.tar.bz2
libass-910211f1c0078e37546f73e95306724358b89be2.tar.xz
parser_priv: Change type of fontdata_{size,used} to size_t
size_t is a more sensible type for as it is unsigned and accurately represents the theoretical limits of object size. int may be larger or smaller than size_t, which both would lead to problems and potential UB with signed overflow. There was no usage of negative values as error flags or similar and those two fields are not part of the public API, so this change should be safe. To stay consistent, also adjust types of related variables in functions.
Diffstat (limited to 'libass/ass_blur.c')
0 files changed, 0 insertions, 0 deletions