Prefer ptrdiff_t to int and avoid integer overflows.
commit55998321452ca84a5e6be71c97063d8514cd8668
authorDmitry Antipov <dmantipov@yandex.ru>
Sat, 13 Sep 2014 04:41:54 +0000 (13 08:41 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Sat, 13 Sep 2014 04:41:54 +0000 (13 08:41 +0400)
treed1cfd555685e4867ec4d3bd0fd62773156912a3c
parent82bb5d8c5bc9c732fb98e27f27f9aa03664055f1
Prefer ptrdiff_t to int and avoid integer overflows.
* fileio.c (make_temp_name):
* font.c (font_parse_family_registry): Avoid integer
overflow on string size calculation.
* data.c (Faset): Likewise for byte index.
src/ChangeLog
src/data.c
src/fileio.c
src/font.c