libcompat: Use ptrdiff_t directly instead of using a macro
commitc8bd356d3efca0ef81dd3b7624fec16016c99c1b
authorGuillem Jover <guillem@debian.org>
Sat, 24 Jun 2023 23:42:50 +0000 (25 01:42 +0200)
committerGuillem Jover <guillem@debian.org>
Sat, 8 Jul 2023 15:52:48 +0000 (8 17:52 +0200)
tree5804a052e72515ff040f503ebd00ddeb1be46be7
parent798f516591890b1e8cfa589ee12031515e7431a6
libcompat: Use ptrdiff_t directly instead of using a macro

We can include <stddef.h> and that does not pollute anything. This
simplifies the code and avoids confusing static analyzers.

Warned-by: cppcheck
lib/compat/obstack.h