[wcstools] 09/09: Fix some compiler warnings.
Ole Streicher
olebole-guest at moszumanska.debian.org
Tue Sep 2 11:32:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
olebole-guest pushed a commit to branch debian
in repository wcstools.
commit 786c1b2d012a0a317155a56715c1e6a8dd8ecc4d
Author: Ole Streicher <debian at liska.ath.cx>
Date: Tue Sep 2 13:31:22 2014 +0200
Fix some compiler warnings.
---
debian/patches/fix_compiler_warnings.patch | 13 +++++++++++++
debian/patches/series | 1 +
2 files changed, 14 insertions(+)
diff --git a/debian/patches/fix_compiler_warnings.patch b/debian/patches/fix_compiler_warnings.patch
new file mode 100644
index 0000000..cffc3a4
--- /dev/null
+++ b/debian/patches/fix_compiler_warnings.patch
@@ -0,0 +1,13 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Fix some compiler warnings.
+--- a/imcat.c
++++ b/imcat.c
+@@ -1772,7 +1772,7 @@
+ if (refcat == UCAC2 || refcat == UCAC3 || refcat == UCAC4) {
+ nim = gc[i] / 1000;
+ nct = gc[i] % 1000;
+- sprintf (temp, " ni nc", nim, nct);
++ sprintf (temp, " ni%i nc%i", nim, nct);
+ strcat (headline, temp);
+ }
+ else if (gcset)
diff --git a/debian/patches/series b/debian/patches/series
index f57c30f..8cc0fdc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ fix_spelling.patch
fix_manpages.patch
use_abort.patch
fix_mayhem.patch
+fix_compiler_warnings.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/wcstools.git
More information about the debian-science-commits
mailing list