This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=a51519f30b255748965155101a2e5a11e89f6f93 commit a51519f30b255748965155101a2e5a11e89f6f93 Author: Guillem Jover <[email protected]> AuthorDate: Sun Nov 9 00:27:56 2025 +0100 s-s-d: Change xmalloc() size argument type from int to size_t Changelog: internal --- utils/start-stop-daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c index cd9e5bf1a..9a916a06f 100644 --- a/utils/start-stop-daemon.c +++ b/utils/start-stop-daemon.c @@ -403,14 +403,14 @@ bug(const char *file, int line, const char *func, const char *format, ...) } static void * -xmalloc(int size) +xmalloc(size_t size) { void *ptr; ptr = malloc(size); if (ptr) return ptr; - fatale("malloc(%d) failed", size); + fatale("malloc(%zu) failed", size); } static char * -- Dpkg.Org's dpkg

