The following commit has been merged in the master branch:
commit f35d66dbc228bc8ad2c5255dee1bf4ecf9ee6e06
Author: Guillem Jover <[email protected]>
Date:   Mon Oct 5 04:06:06 2009 +0200

    libdpkg: Change path_quote_filename size argument type to size_t

diff --git a/lib/dpkg/path.c b/lib/dpkg/path.c
index cb8df08..3a2eefe 100644
--- a/lib/dpkg/path.c
+++ b/lib/dpkg/path.c
@@ -77,7 +77,7 @@ path_skip_slash_dotslash(const char *path)
  * - [email protected]
  */
 char *
-path_quote_filename(char *buf, int size, const char *s)
+path_quote_filename(char *buf, size_t size, const char *s)
 {
        char *r = buf;
 
diff --git a/lib/dpkg/path.h b/lib/dpkg/path.h
index 2e40f5a..5be6078 100644
--- a/lib/dpkg/path.h
+++ b/lib/dpkg/path.h
@@ -32,7 +32,7 @@ DPKG_BEGIN_DECLS
 
 size_t path_rtrim_slash_slashdot(char *path);
 const char *path_skip_slash_dotslash(const char *path);
-char *path_quote_filename(char *buf, int size, const char *s);
+char *path_quote_filename(char *buf, size_t size, const char *s);
 
 DPKG_END_DECLS
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to