- 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:
@@ -359,7 +359,7 @@ PPPManager::RegisterInterface(ppp_interface_id ID)
|
||||
memset(ifp, 0, sizeof(ifnet));
|
||||
ifp->devid = -1;
|
||||
ifp->if_type = IFT_PPP;
|
||||
ifp->name = sKPPPIfNameBase;
|
||||
ifp->name = (char*)sKPPPIfNameBase;
|
||||
ifp->if_unit = FindUnit();
|
||||
ifp->if_flags = IFF_POINTOPOINT;
|
||||
ifp->rx_thread = ifp->tx_thread = -1;
|
||||
|
||||
@@ -52,8 +52,8 @@ public:
|
||||
BRect Bounds() const { return fBounds; }
|
||||
void SetBounds(BRect bounds);
|
||||
|
||||
Option Option() const { return fOption; }
|
||||
void SetOption(Option op) { fOption = op; }
|
||||
enum Option Option() const { return fOption; }
|
||||
void SetOption(enum Option op) { fOption = op; }
|
||||
// zoomFactor = 72.0 / dpi
|
||||
float ZoomFactor() const { return fZoomFactor; }
|
||||
void SetZoomFactor(float z);
|
||||
@@ -67,7 +67,7 @@ public:
|
||||
|
||||
private:
|
||||
BRect fBounds;
|
||||
Option fOption;
|
||||
enum Option fOption;
|
||||
float fZoomFactor;
|
||||
float fDPI;
|
||||
float fWidth, fHeight; // 1/72 Inches
|
||||
|
||||
Reference in New Issue
Block a user