[xiph-commits] r10181 -
trunk/oggdsf/src/lib/codecs/cmml/libCMMLParse
davidb at svn.xiph.org
davidb at svn.xiph.org
Mon Oct 17 18:06:37 PDT 2005
Author: davidb
Date: 2005-10-17 18:06:36 -0700 (Mon, 17 Oct 2005)
New Revision: 10181
Modified:
trunk/oggdsf/src/lib/codecs/cmml/libCMMLParse/CMMLParser.cpp
Log:
fix warnings
Modified: trunk/oggdsf/src/lib/codecs/cmml/libCMMLParse/CMMLParser.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLParse/CMMLParser.cpp 2005-10-18 01:06:24 UTC (rev 10180)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLParse/CMMLParser.cpp 2005-10-18 01:06:36 UTC (rev 10181)
@@ -191,9 +191,9 @@
// Count the number of lines down we are
int LineNumber = 0;
size_t Offset=0;
- for ( ;Offset != string::npos, Offset < ErrorOffset; Offset++)
+ for ( ;Offset != string::npos, Offset < (size_t)ErrorOffset; Offset++)
{
- Offset = locCMMLRootText.find("\n", Offset);
+ Offset = locCMMLRootText.find("\n", (size_t)Offset);
LineNumber++;
if (Offset == string::npos)
{
More information about the commits
mailing list