ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/antlr/String.cpp
(Generate patch)

Comparing:
trunk/src/antlr/String.cpp (file contents), Revision 770 by tim, Fri Dec 2 15:38:03 2005 UTC vs.
branches/development/src/antlr/String.cpp (file contents), Revision 1600 by gezelter, Wed Aug 3 20:20:37 2011 UTC

# Line 2 | Line 2
2   * Project led by Terence Parr at http://www.jGuru.com
3   * Software rights: http://www.antlr.org/license.html
4   *
5 < * $Id: String.cpp,v 1.1 2005-12-02 15:38:02 tim Exp $
5 > * $Id$
6   */
7  
8   #include "antlr/String.hpp"
# Line 38 | Line 38 | ANTLR_USE_NAMESPACE(std)string operator+( const ANTLR_
38   ANTLR_USE_NAMESPACE(std)string operator+( const ANTLR_USE_NAMESPACE(std)string& lhs, size_t rhs )
39   {
40          char tmp[100];
41 <        sprintf(tmp,"%u",rhs);
41 >        sprintf(tmp,"%lu",(unsigned long)rhs);
42          return lhs+tmp;
43   }
44  

Comparing:
trunk/src/antlr/String.cpp (property svn:keywords), Revision 770 by tim, Fri Dec 2 15:38:03 2005 UTC vs.
branches/development/src/antlr/String.cpp (property svn:keywords), Revision 1600 by gezelter, Wed Aug 3 20:20:37 2011 UTC

# Line 0 | Line 1
1 + Author Id Revision Date

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines