xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/xalanc/Utils/MsgCreator MsgCreator.cpp
Date Wed, 03 Dec 2003 07:20:44 GMT
dbertoni    2003/12/02 23:20:44

  Modified:    c/src/xalanc/Utils/MsgCreator MsgCreator.cpp
  Log:
  Fixed glitches.
  
  Revision  Changes    Path
  1.5       +5 -1      xml-xalan/c/src/xalanc/Utils/MsgCreator/MsgCreator.cpp
  
  Index: MsgCreator.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/Utils/MsgCreator/MsgCreator.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MsgCreator.cpp	3 Dec 2003 05:06:30 -0000	1.4
  +++ MsgCreator.cpp	3 Dec 2003 07:20:43 -0000	1.5
  @@ -188,7 +188,11 @@
   			++i;
   			if( i < argc && argv[i][0] != '-' )
   			{
  -				int localLen = strlen(argv[i]);
  +#if defined(XALAN_STRICT_ANSI_HEADERS)
  +				using std::size_t;
  +#endif
  +
  +				const size_t	localLen = strlen(argv[i]);
   				if ( localLen != 2 && localLen !=5)
   				{
   					fSuccess = false;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message