mirror of
https://github.com/kmod-project/kmod.git
synced 2026-01-27 01:44:26 +00:00
The unsigned datatype could overflow on 64 bit systems with sufficiently large index files. Switch to size_t just to be safe. Since the API of strbuf is not exported, this has no side-effect for libkmod users. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> Link: https://github.com/kmod-project/kmod/pull/101 Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>