[debian-edu-commits] debian-edu/pkg-team/ 05/07: Add new avoid-signed-unsigned-warning.patch to get rid of signed/unsigned warnings.

Petter Reinholdtsen pere at moszumanska.debian.org
Wed Oct 1 05:29:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository ldap2zone.

commit 63765a61733f109cf4a5859e5a96994bfd2d053c
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Wed Oct 1 07:19:05 2014 +0200

    Add new avoid-signed-unsigned-warning.patch to get rid of signed/unsigned warnings.
---
 debian/patches/avoid-signed-unsigned-warning.patch | 26 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/avoid-signed-unsigned-warning.patch b/debian/patches/avoid-signed-unsigned-warning.patch
new file mode 100644
index 0000000..6a83461
--- /dev/null
+++ b/debian/patches/avoid-signed-unsigned-warning.patch
@@ -0,0 +1,26 @@
+Description: Use size_t instead of int to avoid signed/unsigned warning
+ Inspired by commit eae6833f5e7318d84399f48931490d98d4a76ac1 found on 
+ <URL: https://github.com/FransUrbo/bind9-ldap >.
+Author: Petter Reinholdtsen <pere at hungry.com>
+Last-Update: 2014-10-01
+
+--- ldap2zone-0.2.orig/ldap2zone.c
++++ ldap2zone-0.2/ldap2zone.c
+@@ -63,7 +63,7 @@ void assstack_insertsorted(struct asssta
+ 
+ void printsoa(struct string *soa) {
+     char *s;
+-    int i;
++    size_t i;
+     
+     s = (char *)soa->data;
+     i = 0;
+@@ -115,7 +115,7 @@ void printrrs(char *defaultttl, struct a
+     struct assstack_entry *stack;
+     char *s;
+     int first;
+-    int i;
++    size_t i;
+     char *ttl, *type;
+     int top;
+     
diff --git a/debian/patches/series b/debian/patches/series
index 7e6fa25..72bf287 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ ldap_host_param
 heap-corruption.patch
 revert-broken-zones.patch
 stable-zone-ordering.patch
+avoid-signed-unsigned-warning.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/ldap2zone.git



More information about the debian-edu-commits mailing list