Module: sems
Branch: master
Commit: abf46776753bc82e05f1cbd3cfcacc451e3ff45d
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=abf46776753bc82e05f1cbd3cfcacc451e3ff45d

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Wed Apr  3 14:53:45 2013 +0200

c/f: suppress some new warnings (>gcc 4.6)

---

 Makefile.defs        |    2 +-
 core/AmAudioFile.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.defs b/Makefile.defs
index 64b37b9..977d1a7 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -151,7 +151,7 @@ CXX = g++
 CC = gcc
 LD = $(CC)
 
-CXXFLAGS += -Wall -Wno-reorder -fPIC -g $(EXTRA_CXXFLAGS)
+CXXFLAGS += -Wall -Wno-reorder -Wno-unused -fPIC -g $(EXTRA_CXXFLAGS)
 CFLAGS   += -Wall -fPIC -g $(EXTRA_CFLAGS)
 
 # only optimize if releasing, as it slows down the build process
diff --git a/core/AmAudioFile.cpp b/core/AmAudioFile.cpp
index dc9e831..e0e2476 100644
--- a/core/AmAudioFile.cpp
+++ b/core/AmAudioFile.cpp
@@ -297,7 +297,7 @@ void AmAudioFile::on_close()
 
     if(f_fmt){
       amci_file_desc_t fmt_desc = { f_fmt->getSubtypeId(), 
-                                   f_fmt->getRate(), 
+                                   (int)f_fmt->getRate(),
                                    f_fmt->channels, 
                                    data_size };
            

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to