From 0786bea02e43ac8cba9791120f8fd3e70d9ee2a5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 20 Feb 2010 11:46:35 +0000 Subject: 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 --- fluid/Fl_Function_Type.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3