summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-02-20 11:46:35 +0000
committerManolo Gouy <Manolo>2010-02-20 11:46:35 +0000
commit0786bea02e43ac8cba9791120f8fd3e70d9ee2a5 (patch)
tree79f68131d1d5b89946cbfb635e904509386ab985
parent529382001f5e19349fbcb188c901cfab8e3a3627 (diff)
Tentative repair of cast from pointer to unsigned int that breaks 64-bit compilations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--fluid/Fl_Function_Type.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx
index 86a70c3a2..6cde5e680 100644
--- a/fluid/Fl_Function_Type.cxx
+++ b/fluid/Fl_Function_Type.cxx
@@ -739,7 +739,8 @@ Fl_Type *Fl_Data_Type::make() {
o->public_ = 1;
o->static_ = 1;
o->filename_ = 0;
- char buf[32]; sprintf(buf, "data_%08x", (unsigned int)o);
+ //char buf[32]; sprintf(buf, "data_%08x", (unsigned int)o);
+ char buf[32]; sprintf(buf, "data_%p", o);
o->name(buf);
o->add(p);
o->factory = this;