[med-svn] [manta] 02/04: Fix type in comparison
Andreas Tille
tille at debian.org
Mon May 1 06:24:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository manta.
commit 2ad4e7dac35e670c035566b47c6fcf311c098fb9
Author: Andreas Tille <tille at debian.org>
Date: Sun Apr 30 23:38:36 2017 +0200
Fix type in comparison
---
debian/patches/fix_comparison.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/fix_comparison.patch b/debian/patches/fix_comparison.patch
new file mode 100644
index 0000000..4bb59c5
--- /dev/null
+++ b/debian/patches/fix_comparison.patch
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 15 Nov 2016 14:29:08 +0100
+Description: Adjust type in comparison
+
+--- a/src/c++/lib/htsapi/bam_util.cpp
++++ b/src/c++/lib/htsapi/bam_util.cpp
+@@ -39,7 +39,7 @@ change_bam_data_len(const int new_len,
+ {
+ assert(new_len>=0);
+
+- if (new_len > br.m_data)
++ if ((unsigned int)new_len > br.m_data)
+ {
+ br.m_data = new_len;
+ kroundup32(br.m_data);
diff --git a/debian/patches/series b/debian/patches/series
index 4aa4fd1..8e21131 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ use_debian_packaged_pyflow.patch
use_debian_packaged_zlib.patch
use_debian_packaged_htslib.patch
use_debian_packaged_samtools.patch
+fix_comparison.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/manta.git
More information about the debian-med-commit
mailing list