~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to src/network/nNetwork.cpp

  • Committer: z-man
  • Date: 2007-02-01 12:28:25 UTC
  • Revision ID: svn-v3-list-QlpoOTFBWSZTWZvbKhsAAAdRgAAQABK6798QIABURMgAAaeoNT1TxT1DQbKaeobXKiyAmlWT7Y5MkdJOtXDtB7w7DOGFBHiOBxaUIu7HQyyQSvxdyRThQkJvbKhs:7d95bf1e-0414-0410-9756-b78462a59f44:armagetronad%2Fbranches%2F0.2.8%2Farmagetronad:7092
Employed two stage cast when writing tOutputs to nMessages. gcc 3.3 on Solaris complained about the single stage cast.

Show diffs side-by-side

added added

removed removed

Lines of Context:
984
984
}
985
985
 
986
986
nMessage& nMessage::operator << ( const tOutput &o ){
987
 
    return *this << static_cast< tString >( o );
 
987
    return *this << tString( static_cast< const char * >( o ) );
988
988
}
989
989
 
990
990
bool sn_filterColorStrings = false;