[xiph-commits] r8667 - trunk/oggdsf/src/lib/core/ogg/libVorbisComment

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Fri Jan 7 09:21:32 PST 2005


Author: illiminable
Date: 2005-01-07 09:21:31 -0800 (Fri, 07 Jan 2005)
New Revision: 8667

Modified:
   trunk/oggdsf/src/lib/core/ogg/libVorbisComment/FileComments.cpp
   trunk/oggdsf/src/lib/core/ogg/libVorbisComment/SingleVorbisComment.cpp
   trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.vcproj
Log:
* Warnings-- in libvorbiscomment

Modified: trunk/oggdsf/src/lib/core/ogg/libVorbisComment/FileComments.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libVorbisComment/FileComments.cpp	2005-01-07 17:14:28 UTC (rev 8666)
+++ trunk/oggdsf/src/lib/core/ogg/libVorbisComment/FileComments.cpp	2005-01-07 17:21:31 UTC (rev 8667)
@@ -104,6 +104,7 @@
 	}
 
 	delete[] locBuff;
+	return true;
 	
 }
 string FileComments::fileName() {

Modified: trunk/oggdsf/src/lib/core/ogg/libVorbisComment/SingleVorbisComment.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libVorbisComment/SingleVorbisComment.cpp	2005-01-07 17:14:28 UTC (rev 8666)
+++ trunk/oggdsf/src/lib/core/ogg/libVorbisComment/SingleVorbisComment.cpp	2005-01-07 17:21:31 UTC (rev 8667)
@@ -66,7 +66,7 @@
 
 unsigned long SingleVorbisComment::length() {
 	//FIX::: This would be faster to add them manually.
-	return toString().length();
+	return (unsigned long)toString().length();
 }
 
 bool SingleVorbisComment::parseComment(string inCommentString) {

Modified: trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.vcproj
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.vcproj	2005-01-07 17:14:28 UTC (rev 8666)
+++ trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.vcproj	2005-01-07 17:21:31 UTC (rev 8667)
@@ -28,7 +28,8 @@
 				WarningLevel="4"
 				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="4"
-				CallingConvention="2"/>
+				CallingConvention="2"
+				DisableSpecificWarnings="4251"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
 			<Tool
@@ -87,7 +88,8 @@
 				WarningLevel="3"
 				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="3"
-				CallingConvention="2"/>
+				CallingConvention="2"
+				DisableSpecificWarnings="4251"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
 			<Tool
@@ -150,7 +152,8 @@
 				WarningLevel="3"
 				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="3"
-				CallingConvention="2"/>
+				CallingConvention="2"
+				DisableSpecificWarnings="4251"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
 			<Tool
@@ -213,7 +216,8 @@
 				WarningLevel="3"
 				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="3"
-				CallingConvention="2"/>
+				CallingConvention="2"
+				DisableSpecificWarnings="4251"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
 			<Tool



More information about the commits mailing list