suppress a couple of -Wformat warnings
authorAndrei Zavada <johnhommer@gmail.com>
Sun, 3 Jan 2016 15:19:47 +0000 (17:19 +0200)
committerAndrei Zavada <johnhommer@gmail.com>
Sun, 3 Jan 2016 15:19:47 +0000 (17:19 +0200)
upstream/src/libcnrun/model/struct.cc

index f5d96f6004f35fc295eed826c660b8941798420a..355e939ab3d688afb81eeef15a7b470c6e2d98b4 100644 (file)
@@ -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;