From 074b473a912fa85588d4c64dd0bd83240c298aa7 Mon Sep 17 00:00:00 2001
From: Stefen Guzik <guzik2@llnl.gov>
Date: Wed, 7 Jan 2009 05:30:59 +0000
Subject: [PATCH] 64 bit hack

---
 contrib/TreeBrowser/Flu_Tree_Browser.cpp | 2 +-
 contrib/TreeBrowser/Flu_Tree_Browser.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/TreeBrowser/Flu_Tree_Browser.cpp b/contrib/TreeBrowser/Flu_Tree_Browser.cpp
index 21dbe7f4ee..fdf2ebf6ca 100644
--- a/contrib/TreeBrowser/Flu_Tree_Browser.cpp
+++ b/contrib/TreeBrowser/Flu_Tree_Browser.cpp
@@ -2679,7 +2679,7 @@ Flu_Tree_Browser::Node* Flu_Tree_Browser :: add_leaf( const char* path, const ch
 
 unsigned int Flu_Tree_Browser :: remove( const char *fullpath )
 {
-  return( (unsigned int)root.modify( fullpath, Node::REMOVE, rdata ) );
+  return( (unsigned long)root.modify( fullpath, Node::REMOVE, rdata ) );
 }
 
 unsigned int Flu_Tree_Browser :: remove( const char *path, const char *text )
diff --git a/contrib/TreeBrowser/Flu_Tree_Browser.h b/contrib/TreeBrowser/Flu_Tree_Browser.h
index c61c4638e2..534118b05d 100644
--- a/contrib/TreeBrowser/Flu_Tree_Browser.h
+++ b/contrib/TreeBrowser/Flu_Tree_Browser.h
@@ -1019,7 +1019,7 @@ class Flu_Tree_Browser : public Fl_Group
       //! Remove the entry identified by path \b fullpath from this node
       /*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */
       inline unsigned int remove( const char *fullpath )
-	{ return( (unsigned int)modify( fullpath, REMOVE, tree->rdata ) ); }
+	{ return( (unsigned long)modify( fullpath, REMOVE, tree->rdata ) ); }
 
       //! Remove the entry identified by unique id \b id from this node
       /*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */
-- 
GitLab