summaryrefslogtreecommitdiff
path: root/FL/forms.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-11-19 16:37:36 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-11-19 16:37:36 +0000
commita74795bbb88ffee1cc35144466c161f2bf585e1f (patch)
tree0f0bc7d27e310d4970ba963c622c4fa91aa6eef2 /FL/forms.H
parent2921ca57a03c93d10e8791830256d8baf73e523f (diff)
Get rid of some valid compiler warnings with CodeWarrior that were reported
by Paul Chambers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/forms.H')
-rw-r--r--FL/forms.H6
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/forms.H b/FL/forms.H
index ccd744567..2aa166577 100644
--- a/FL/forms.H
+++ b/FL/forms.H
@@ -1,5 +1,5 @@
//
-// "$Id: forms.H,v 1.7.2.7.2.6 2002/08/14 16:49:38 easysw Exp $"
+// "$Id: forms.H,v 1.7.2.7.2.7 2002/11/19 16:37:33 easysw Exp $"
//
// Forms emulation header file for the Fast Light Tool Kit (FLTK).
//
@@ -615,7 +615,7 @@ inline void fl_get_dial_bounds(Fl_Widget* o, float* a, float* b) {
inline void fl_set_dial_return(Fl_Widget* o, int i) {
((Fl_Dial*)o)->when((Fl_When)(i|FL_WHEN_RELEASE));}
inline void fl_set_dial_angles(Fl_Widget* o, int a, int b) {
- ((Fl_Dial*)o)->angles(a, b);}
+ ((Fl_Dial*)o)->angles((short)a, (short)b);}
//inline void fl_set_dial_cross(Fl_Widget* o, int);
// inline void fl_set_dial_direction(Fl_Widget* o, uchar d) {
// ((Fl_Dial*)o)->direction(d);}
@@ -838,5 +838,5 @@ inline void fl_draw() {Fl::flush();}
#endif /* define __FORMS_H__ */
//
-// End of "$Id: forms.H,v 1.7.2.7.2.6 2002/08/14 16:49:38 easysw Exp $".
+// End of "$Id: forms.H,v 1.7.2.7.2.7 2002/11/19 16:37:33 easysw Exp $".
//