file: use size_t for position and pointer
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 4 Oct 2020 15:14:48 +0000 (17:14 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 6 Oct 2020 06:31:44 +0000 (08:31 +0200)
commit7f574273180ac940c57da0f28c26a5274c165e48
tree2757ba79df98f8885e6309c90d35540e13615d71
parent19770b6949b9a95038f3216da773204eadfdd6bc
file: use size_t for position and pointer

The bufsz variable is used to store the size of the buf memory region
and pos is used to index a position in this memory. Use size_t for these
variables in the internal handling instaed of int to not break with big
files.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
file.c
libuci.c
uci_internal.h