Browse Source

build on irix

David Rose 21 years ago
parent
commit
022f83833f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/dcparser/dcClass.cxx

+ 1 - 1
direct/src/dcparser/dcClass.cxx

@@ -357,7 +357,7 @@ pack_required_field(Datagram &dg, PyObject *distobj, DCField *field) const {
     return;
   }
   
-  if (set_name.substr(0, 3) != "set") {
+  if (set_name.substr(0, 3) != string("set")) {
     // This is required to suit our set/get mangling convention.
     ostringstream strm;
     strm << "Required field " << set_name << " does not begin with 'set'";