]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: Use correct data types
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 20 Oct 2024 09:38:56 +0000 (11:38 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 22 Oct 2024 17:02:56 +0000 (12:02 -0500)
commitb000028d353510fca017b667bbca3f467b2a832e
tree2bff807e90af30cd71db48bfe00ffdebd58c0471
parentc16fadc97a6bba3229d67f47d3bf2c949f4a4e22
libkmod: Use correct data types

A huge module file could contain more symbols than could be represented
with an int. Use size_t instead.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/196
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-elf.c