| 253 |  | //The third part is the index of the rigidbody defined in meta-data file | 
| 254 |  | //For example, Butane_RB_0 is a valid rigid body name of butane molecule | 
| 255 |  | /**@todo replace itoa by lexi_cast */ | 
| 256 | < | rb->setType(mol->getType() + "_RB_" + toString(mol->getNRigidBodies())); | 
| 257 | < |  | 
| 256 | > | char buffer [33]; | 
| 257 | > | sprintf(buffer, "%d", mol->getNRigidBodies()); | 
| 258 | > | //rb->setType(mol->getType() + "_RB_" + toString<int>(mol->getNRigidBodies())); | 
| 259 | > | rb->setType(mol->getType() + "_RB_" + buffer); | 
| 260 | > |  | 
| 261 |  | return rb; | 
| 262 |  | } | 
| 263 |  |  |