Fix dumping of Nums

Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/78889bcd
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/78889bcd
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/78889bcd

Branch: refs/heads/master
Commit: 78889bcdcfea5f8f7d999cd8da0a74a9036353b4
Parents: be1b383
Author: Nick Wellnhofer <[email protected]>
Authored: Mon May 4 17:10:28 2015 +0200
Committer: Nick Wellnhofer <[email protected]>
Committed: Mon May 4 18:45:56 2015 +0200

----------------------------------------------------------------------
 core/Lucy/Util/Freezer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/78889bcd/core/Lucy/Util/Freezer.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Util/Freezer.c b/core/Lucy/Util/Freezer.c
index c427d55..7e053fd 100644
--- a/core/Lucy/Util/Freezer.c
+++ b/core/Lucy/Util/Freezer.c
@@ -384,7 +384,7 @@ Freezer_dump(Obj *obj) {
         return Query_Dump((Query*)obj);
     }
     else {
-        return (Obj*)Obj_To_String(obj);
+        return (Obj*)Obj_Clone(obj);
     }
 }
 

Reply via email to