mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
0c565f3cc2
-current / gcc 3.2.1. Maybe somebody with more C++ knowledge can have a look at the current errors it is stuck with?
27 lines
1.1 KiB
C++
27 lines
1.1 KiB
C++
--- classes/include/CflowdNetMatrixKey.hh.orig Fri Aug 29 20:35:27 2003
|
|
+++ classes/include/CflowdNetMatrixKey.hh Fri Aug 29 20:36:00 2003
|
|
@@ -191,9 +191,9 @@
|
|
inline istream & read(istream & is)
|
|
{
|
|
g_CfdArtsPrimitive.ReadIpv4Network(is,this->_src,sizeof(this->_src));
|
|
- is.read(&(this->_srcMaskLen),sizeof(this->_srcMaskLen));
|
|
+ is.read((char *)&(this->_srcMaskLen),sizeof(this->_srcMaskLen));
|
|
g_CfdArtsPrimitive.ReadIpv4Network(is,this->_dst,sizeof(this->_dst));
|
|
- is.read(&(this->_dstMaskLen),sizeof(this->_dstMaskLen));
|
|
+ is.read((char *)&(this->_dstMaskLen),sizeof(this->_dstMaskLen));
|
|
|
|
return(is);
|
|
}
|
|
@@ -263,9 +263,9 @@
|
|
inline ostream & write(ostream & os) const
|
|
{
|
|
g_CfdArtsPrimitive.WriteIpv4Network(os,this->_src,sizeof(this->_src));
|
|
- os.write(&(this->_srcMaskLen),sizeof(this->_srcMaskLen));
|
|
+ os.write((char *)&(this->_srcMaskLen),sizeof(this->_srcMaskLen));
|
|
g_CfdArtsPrimitive.WriteIpv4Network(os,this->_dst,sizeof(this->_dst));
|
|
- os.write(&(this->_dstMaskLen),sizeof(this->_dstMaskLen));
|
|
+ os.write((char *)&(this->_dstMaskLen),sizeof(this->_dstMaskLen));
|
|
return(os);
|
|
}
|
|
|