tests: y4mreader: fix incompatible cast
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 10 Jan 2018 15:48:07 +0000 (16:48 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 10 Jan 2018 15:48:07 +0000 (16:48 +0100)
commit2b9712ca2da02e80115dd85b96e3392f9274ad83
tree0853a06e3b420468de46fa8196b05c34843662ec
parentce3593c0f6999b6ceb77c16360e61973e2a59945
tests: y4mreader: fix incompatible cast

Passed pointer in parse_int() are unsigned int (32 bits, unsigned) but
they are dereferenced as a wider long (64 bits, signed). This may lead
to memory corruption.
tests/y4mreader.c