summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;