diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-01-11 20:52:38 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-01-11 20:52:38 +0000 |
| commit | b4c15eb8ae300eeb374f461a7788ec6dec7938f0 (patch) | |
| tree | d224223396e128955ec624d9b5e44c43e2d951ad /test | |
| parent | 9c0c450cbdbe257c24baf9c0754d457a55fdfa89 (diff) | |
Fixed a few GNU compiler warnings (-pedantic): C++ comments in C files,
extraneous ';' and ',' and an invalid cast.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/device.cxx | 4 | ||||
| -rw-r--r-- | test/preferences.fl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/device.cxx b/test/device.cxx index bd613a238..050b159cd 100644 --- a/test/device.cxx +++ b/test/device.cxx @@ -608,7 +608,7 @@ void print(Fl_Widget *, void *w) { p->end_job(); } delete p; -}; +} /*void print2(Fl_Widget *, void *w) { Fl_Widget * g = (Fl_Widget *)w; @@ -731,4 +731,4 @@ b_bitmap.labelcolor(FL_GREEN); Fl::run(); return 0; -}; +} diff --git a/test/preferences.fl b/test/preferences.fl index 0190f6651..be093b3a8 100644 --- a/test/preferences.fl +++ b/test/preferences.fl @@ -323,6 +323,6 @@ Function {writePrefs()} {open return_type void /* sample code only: */ unsigned int hex = 0x2387efcd; eat.set( "binFoo", (void*)&hex, sizeof( unsigned int ) ); - eat.set( "binFoo2", (void*)&writePrefs, 256 );} {selected + eat.set( "binFoo2", (void*)&bed, 256 );} {selected } } |
