Changeset 827 in Sophya for trunk/SophyaLib/BaseTools/dvlist.cc
- Timestamp:
- Apr 6, 2000, 6:39:00 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/dvlist.cc
r802 r827 284 284 { 285 285 case 'I' : 286 sprintf(buff, "%s = % d (int) %s\n", (*it).first.substr(0,64).c_str(),287 ( *it).second.elval.mtv.iv, (*it).second.elcomm.substr(0,128).c_str());286 sprintf(buff, "%s = %ld (int) %s\n", (*it).first.substr(0,64).c_str(), 287 (long)((*it).second.elval.mtv.iv), (*it).second.elcomm.substr(0,128).c_str()); 288 288 break; 289 289 case 'D' : … … 359 359 switch ((*it).second.elval.typ) { 360 360 case 'I' : 361 sprintf(buf,"I %s % d", (*it).first.substr(0,64).c_str(), (*it).second.elval.mtv.iv);361 sprintf(buf,"I %s %ld", (*it).first.substr(0,64).c_str(), (long)((*it).second.elval.mtv.iv) ); 362 362 sfw = buf; s.PutStr(sfw); 363 363 break;
Note:
See TracChangeset
for help on using the changeset viewer.