summaryrefslogtreecommitdiff
path: root/fluid/Fl_Function_Type.cxx
diff options
context:
space:
mode:
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);
}
}
}