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=552a090dc1c08449e873d70958dc79ab1ab3c79e

commit 552a090dc1c08449e873d70958dc79ab1ab3c79e
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Aug 17 20:35:30 2024 +0200

    libdpkg: Use size_t instead of unsigned int for nargs
---
 lib/dpkg/ehandle.c | 6 +++---
 lib/dpkg/ehandle.h | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/dpkg/ehandle.c b/lib/dpkg/ehandle.c
index be95c3642..5f9d1b102 100644
--- a/lib/dpkg/ehandle.c
+++ b/lib/dpkg/ehandle.c
@@ -329,7 +329,7 @@ void push_checkpoint(int mask, int value) {
 static void
 cleanup_entry_new(void (*call1)(int argc, void **argv), int mask1,
                   void (*call2)(int argc, void **argv), int mask2,
-                  unsigned int nargs, va_list vargs)
+                  size_t nargs, va_list vargs)
 {
   struct cleanup_entry *cep;
   void **argv;
@@ -366,7 +366,7 @@ cleanup_entry_new(void (*call1)(int argc, void **argv), int 
mask1,
 
 void
 push_cleanup(void (*call)(int argc, void **argv), int mask,
-             unsigned int nargs, ...)
+             size_t nargs, ...)
 {
   va_list args;
 
@@ -378,7 +378,7 @@ push_cleanup(void (*call)(int argc, void **argv), int mask,
 void
 push_cleanup_fallback(void (*call1)(int argc, void **argv), int mask1,
                       void (*call2)(int argc, void **argv), int mask2,
-                      unsigned int nargs, ...)
+                      size_t nargs, ...)
 {
   va_list args;
 
diff --git a/lib/dpkg/ehandle.h b/lib/dpkg/ehandle.h
index 36059048a..8e8e0eed2 100644
--- a/lib/dpkg/ehandle.h
+++ b/lib/dpkg/ehandle.h
@@ -61,9 +61,9 @@ void pop_error_context(int flagset);
 
 void push_cleanup_fallback(void (*f1)(int argc, void **argv), int flagmask1,
                            void (*f2)(int argc, void **argv), int flagmask2,
-                           unsigned int nargs, ...);
+                           size_t nargs, ...);
 void push_cleanup(void (*call)(int argc, void **argv), int flagmask,
-                  unsigned int nargs, ...);
+                  size_t nargs, ...);
 void push_checkpoint(int mask, int value);
 void pop_cleanup(int flagset);
 

-- 
Dpkg.Org's dpkg

Reply via email to