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=d005bdfa3da5ecf9eb8f10ec559811eeb6326dc4 commit d005bdfa3da5ecf9eb8f10ec559811eeb6326dc4 Author: Guillem Jover <[email protected]> AuthorDate: Thu Oct 26 00:20:36 2023 +0200 libcompat: Fix comparison of integers of different sign in obstack_blank() We are comparing a size_t against the difference between two pointers. Cast the latter into size_t to fix the warning. Warned-by: clang --- lib/compat/obstack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compat/obstack.h b/lib/compat/obstack.h index 1818127bf..e2dcad1cc 100644 --- a/lib/compat/obstack.h +++ b/lib/compat/obstack.h @@ -277,7 +277,7 @@ extern int obstack_exit_failure; __extension__ \ ({ struct obstack *__o = (OBSTACK); \ size_t __len = (length); \ - if (__o->chunk_limit - __o->next_free < __len) \ + if ((size_t) (__o->chunk_limit - __o->next_free) < __len) \ _obstack_newchunk (__o, __len); \ (void) 0; }) -- Dpkg.Org's dpkg

