mirror of
https://github.com/fltk/fltk.git
synced 2026-06-07 09:13:58 +08:00
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:
+2
-2
@@ -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
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user