mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
7cc230d572
in the code. Informed maintainer. PR: ports/48382 (it all started with this one) Submtited by: Will Saxon <wills@housing.ufl.edu> and me
20 lines
563 B
C++
20 lines
563 B
C++
--- classes/src/CflowdCiscoMap.cc.orig Fri Aug 29 21:26:58 2003
|
|
+++ classes/src/CflowdCiscoMap.cc Fri Aug 29 21:28:13 2003
|
|
@@ -39,6 +39,7 @@
|
|
// info@caida.org
|
|
//===========================================================================
|
|
|
|
+using namespace std;
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
@@ -112,7 +113,7 @@
|
|
}
|
|
|
|
numCiscos = htonl(numCiscos);
|
|
- os.write(&numCiscos,sizeof(numCiscos));
|
|
+ os.write((char *)&numCiscos,sizeof(numCiscos));
|
|
|
|
for (ciscomIter = (*this).begin(); ciscomIter != (*this).end();
|
|
ciscomIter++) {
|