The following commit has been merged in the master branch:
commit c1d7debca62261e31286bb656048dfb6be11ead5
Author: Guillem Jover <[email protected]>
Date: Mon Feb 8 12:20:49 2010 +0100
libdpkg: Do not lose const qualifier on a cast in path_quote_filename
diff --git a/lib/dpkg/path.c b/lib/dpkg/path.c
index b8f5f25..febc1c9 100644
--- a/lib/dpkg/path.c
+++ b/lib/dpkg/path.c
@@ -97,7 +97,7 @@ path_quote_filename(char *dst, const char *src, size_t size)
} else {
if (size > 4) {
sprintf(dst, "\\%03o",
- *(unsigned char *)src);
+ *(const unsigned char *)src);
size -= 4;
dst += 4;
src++;
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]