]> git.ipfire.org Git - thirdparty/grub.git/commit
lib/b64dec: Use grub_size_t instead of size_t for _gpgrt_b64dec_proc() function defin... master
authorAnaëlle Cazuc <acazuc@acazuc.fr>
Tue, 2 Sep 2025 10:26:44 +0000 (12:26 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 9 Sep 2025 23:12:17 +0000 (01:12 +0200)
commitee789e1a625a43b31e17f91a11d4cfb609bc4c52
treed3a0c9dc1460fc5648fefe9f06a7cb379c9bb34f
parentabb8fb6d1af1fe3db06b97bfae87466685b23007
lib/b64dec: Use grub_size_t instead of size_t for _gpgrt_b64dec_proc() function definition

On some targets, size_t and grub_size_t may not be the same type
(unsigned long / unsigned int). This breaks the compilation because the
definition of _gpgrt_b64dec_proc() differs from gpgrt_b64dec_proc()
declaration. Fix it by using grub_size_t in the _gpgrt_b64dec_proc()
definition.

Signed-off-by: Anaëlle Cazuc <acazuc@acazuc.fr>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/lib/b64dec.c