summaryrefslogtreecommitdiff
path: root/fluid/Fl_Function_Type.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-04-18 20:23:29 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-04-18 20:23:29 +0000
commitdd0503576da04e77207e997ca5ababd81e3dc23d (patch)
tree640d9d10986bd872d242081a95a75fcdc392ffe9 /fluid/Fl_Function_Type.cxx
parent1c399af44498c39958b18bf6fd963c97ae3c929e (diff)
Fix compiler warnings.
Add demo.menu and all xbm and xpm files in test directory to install list. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Function_Type.cxx')
-rw-r--r--fluid/Fl_Function_Type.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx
index d79b39ea2..303ff728e 100644
--- a/fluid/Fl_Function_Type.cxx
+++ b/fluid/Fl_Function_Type.cxx
@@ -551,13 +551,13 @@ void Fl_Decl_Type::write_code1() {
while (e>c && e[-1]==';') e--;
if (class_name(1)) {
write_public(public_);
- write_h(" %.*s;\n", e-c, c);
+ write_h(" %.*s;\n", (int)(e-c), c);
} else {
if (public_) {
- write_h("extern %.*s;\n", e-c, c);
- write_c("%.*s;\n", e-c, c);
+ write_h("extern %.*s;\n", (int)(e-c), c);
+ write_c("%.*s;\n", (int)(e-c), c);
} else {
- write_c("static %.*s;\n", e-c, c);
+ write_c("static %.*s;\n", (int)(e-c), c);
}
}
}