You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/02/27 00:05:19 UTC
[lucy-commits] svn commit: r1074953 - /incubator/lucy/trunk/clownfish/src/CFCDumpable.c
Author: marvin
Date: Sat Feb 26 23:05:19 2011
New Revision: 1074953
URL: http://svn.apache.org/viewvc?rev=1074953&view=rev
Log:
Fix a typo from an earlier commit today that caused floats to be truncated in
autogenerated Dump/Load routines.
Modified:
incubator/lucy/trunk/clownfish/src/CFCDumpable.c
Modified: incubator/lucy/trunk/clownfish/src/CFCDumpable.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCDumpable.c?rev=1074953&r1=1074952&r2=1074953&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCDumpable.c (original)
+++ incubator/lucy/trunk/clownfish/src/CFCDumpable.c Sat Feb 26 23:05:19 2011
@@ -170,7 +170,7 @@ CFCDumpable_process_load_member(CFCVaria
if (check < 0) { croak("sprintf failed"); }
}
else if (CFCType_is_floating(type)) {
- int check = sprintf(extraction, "(%s)Cfish_Obj_To_I64(var)", type_str);
+ int check = sprintf(extraction, "(%s)Cfish_Obj_To_F64(var)", type_str);
if (check < 0) { croak("sprintf failed"); }
}
else if (CFCType_is_object(type)) {