- fixed issues when compiling with gcc-2.95.3.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8994 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2004-09-17 16:34:13 +00:00
parent 3b554981d3
commit 057ceb6137
2 changed files with 4 additions and 4 deletions
@@ -359,7 +359,7 @@ PPPManager::RegisterInterface(ppp_interface_id ID)
memset(ifp, 0, sizeof(ifnet)); memset(ifp, 0, sizeof(ifnet));
ifp->devid = -1; ifp->devid = -1;
ifp->if_type = IFT_PPP; ifp->if_type = IFT_PPP;
ifp->name = sKPPPIfNameBase; ifp->name = (char*)sKPPPIfNameBase;
ifp->if_unit = FindUnit(); ifp->if_unit = FindUnit();
ifp->if_flags = IFF_POINTOPOINT; ifp->if_flags = IFF_POINTOPOINT;
ifp->rx_thread = ifp->tx_thread = -1; ifp->rx_thread = ifp->tx_thread = -1;
+3 -3
View File
@@ -52,8 +52,8 @@ public:
BRect Bounds() const { return fBounds; } BRect Bounds() const { return fBounds; }
void SetBounds(BRect bounds); void SetBounds(BRect bounds);
Option Option() const { return fOption; } enum Option Option() const { return fOption; }
void SetOption(Option op) { fOption = op; } void SetOption(enum Option op) { fOption = op; }
// zoomFactor = 72.0 / dpi // zoomFactor = 72.0 / dpi
float ZoomFactor() const { return fZoomFactor; } float ZoomFactor() const { return fZoomFactor; }
void SetZoomFactor(float z); void SetZoomFactor(float z);
@@ -67,7 +67,7 @@ public:
private: private:
BRect fBounds; BRect fBounds;
Option fOption; enum Option fOption;
float fZoomFactor; float fZoomFactor;
float fDPI; float fDPI;
float fWidth, fHeight; // 1/72 Inches float fWidth, fHeight; // 1/72 Inches