libdpkg: Use array access instead of pointer arithmetic for meminfo parser
commitad996529f127657818a47efbfc57cedfcb42f662
authorGuillem Jover <guillem@debian.org>
Wed, 28 Feb 2024 03:35:58 +0000 (28 04:35 +0100)
committerGuillem Jover <guillem@debian.org>
Thu, 29 Feb 2024 00:23:15 +0000 (29 01:23 +0100)
treee4a2f474cc66f966951af3805cb9a9774c21a77a
parentc881a5a867601482383aaf242f7590f2e11e9427
libdpkg: Use array access instead of pointer arithmetic for meminfo parser

This makes the code more uniform and shorter.
lib/dpkg/meminfo.c