[med-svn] [cnrun] 01/11: suppress a couple of -Wformat warnings

andrei zavada hmmr-guest at moszumanska.debian.org
Sat Jan 30 17:27:51 UTC 2016


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

hmmr-guest pushed a commit to branch WIP
in repository cnrun.

commit 13409939d77eadfb591c19ee3256d9d709662eba
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sun Jan 3 17:19:47 2016 +0200

    suppress a couple of -Wformat warnings
---
 upstream/src/libcnrun/model/struct.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/upstream/src/libcnrun/model/struct.cc b/upstream/src/libcnrun/model/struct.cc
index f5d96f6..355e939 100644
--- a/upstream/src/libcnrun/model/struct.cc
+++ b/upstream/src/libcnrun/model/struct.cc
@@ -636,7 +636,7 @@ add_synapse_species( TUnitType ytype,
                      TSynapseCloningOption cloning_option, TIncludeOption include_option)
 {
         vp( 5, "add_synapse_species( \"%s\", \"%s\", \"%s\", %g, %d, %d)\n",
-            __CNUDT[ytype].species, src->_label, tgt->_label, g, cloning_option, include_option);
+            __CNUDT[ytype].species, src->_label, tgt->_label, g, (int)cloning_option, (int)include_option);
 
         C_BaseSynapse *y = nullptr;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/cnrun.git



More information about the debian-med-commit mailing list