aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cflowd/files/patch-classes::src::CflowdTosTable.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/cflowd/files/patch-classes::src::CflowdTosTable.cc')
-rw-r--r--net-mgmt/cflowd/files/patch-classes::src::CflowdTosTable.cc28
1 files changed, 0 insertions, 28 deletions
diff --git a/net-mgmt/cflowd/files/patch-classes::src::CflowdTosTable.cc b/net-mgmt/cflowd/files/patch-classes::src::CflowdTosTable.cc
deleted file mode 100644
index 4ac063a72e69..000000000000
--- a/net-mgmt/cflowd/files/patch-classes::src::CflowdTosTable.cc
+++ /dev/null
@@ -1,28 +0,0 @@
---- classes/src/CflowdTosTable.cc.orig Fri Aug 29 22:01:28 2003
-+++ classes/src/CflowdTosTable.cc Fri Aug 29 22:01:52 2003
-@@ -82,9 +82,9 @@
- (*this).erase((*this).begin(),(*this).end());
- }
-
-- is.read(&numToss,sizeof(numToss));
-+ is.read((char *)&numToss,sizeof(numToss));
- for (tosNum = 0; tosNum < numToss; tosNum++) {
-- is.read(&tos,sizeof(tos));
-+ is.read((char *)&tos,sizeof(tos));
- protoTraffic.read(is);
- (*this)[tos] = protoTraffic;
- }
-@@ -151,11 +151,11 @@
- CflowdTosTable::const_iterator protoIter;
-
- numToss = (*this).size();
-- os.write(&numToss,sizeof(numToss));
-+ os.write((char *)&numToss,sizeof(numToss));
-
- for (protoIter = (*this).begin(); protoIter != (*this).end(); protoIter++) {
- tos = (*protoIter).first;
-- os.write(&tos,sizeof(tos));
-+ os.write((char *)&tos,sizeof(tos));
- (*protoIter).second.write(os);
- }
- return(os);