diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-05-20 00:01:06 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-05-20 00:01:06 +0000 |
| commit | 73d01dd659f82f2c53fd7cedcf0bbb8d47f70ab2 (patch) | |
| tree | 946d3744f22b87faf22f32cac8eed8619e53be55 /test/unittests.cxx | |
| parent | 9ca173a7020ca6a7daab001b71dfc6e84f149429 (diff) | |
Fix all compiler warnings from various build systems.
Fix vsnprintf() implementation to properly handle long and long long ints.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/unittests.cxx')
| -rw-r--r-- | test/unittests.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unittests.cxx b/test/unittests.cxx index 49a236640..3f7a7bb35 100644 --- a/test/unittests.cxx +++ b/test/unittests.cxx @@ -80,7 +80,7 @@ Fl_Group *beginTestPage(const char *l) { } //------- test the point drawing capabilities of this implementation ---------- -class PointTest : Fl_Widget { +class PointTest : public Fl_Widget { public: PointTest(int x, int y, int w, int h) : Fl_Widget(x, y, w, h) {} void draw() { int a = x(), b = y(); @@ -111,7 +111,7 @@ void fl_point_test() { } //------- test the line drawing capabilities of this implementation ---------- -class LineTest : Fl_Widget { +class LineTest : public Fl_Widget { public: LineTest(int x, int y, int w, int h) : Fl_Widget(x, y, w, h) {} void draw() { int a = x(), b = y(); fl_color(FL_BLACK); fl_rect(a, b, w(), h()); @@ -148,7 +148,7 @@ void fl_line_test() { } //------- test the line drawing capabilities of this implementation ---------- -class RectTest : Fl_Widget { +class RectTest : public Fl_Widget { public: RectTest(int x, int y, int w, int h) : Fl_Widget(x, y, w, h) {} void draw() { int a = x(), b = y(); fl_color(FL_BLACK); fl_rect(a, b, w(), h()); @@ -176,7 +176,7 @@ void fl_rect_test() { } //------- test the line drawing capabilities of this implementation ---------- -class ViewportTest : Fl_Widget { +class ViewportTest : public Fl_Widget { int pos; public: ViewportTest(int x, int y, int w, int h, int p) : Fl_Widget(x, y, w, h), pos(p) {} @@ -218,7 +218,7 @@ void fl_viewport_test() { } //------- test the circle drawing capabilities of this implementation ---------- -class CircleTest : Fl_Widget { +class CircleTest : public Fl_Widget { public: CircleTest(int x, int y, int w, int h) : Fl_Widget(x, y, w, h) {} void draw() { int a = x(), b = y(); fl_color(FL_BLACK); fl_rect(a, b, 100, 100); |
