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
This commit is contained in:
Albrecht Schlosser
2011-01-11 20:52:38 +00:00
parent 9c0c450cbd
commit b4c15eb8ae
5 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -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;
};
}
+1 -1
View File
@@ -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
}
}