* eet: Fix convertion from any float type to any other float type.
authorCedric BAIL <cedric.bail@free.fr>
Mon, 7 Dec 2009 09:33:20 +0000 (09:33 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Mon, 7 Dec 2009 09:33:20 +0000 (09:33 +0000)
SVN revision: 44239

legacy/eet/ChangeLog
legacy/eet/src/lib/eet_data.c

index a7912f3..7d33c25 100644 (file)
 
        * Make all operation on Eet_File thread safe.
 
+2009-12-07  Cedric BAIL
+
+       * Fix error when retrieving a different float type than the stored one.
index 32878a6..956dc00 100644 (file)
@@ -2422,7 +2422,7 @@ _eet_data_descriptor_decode(Eet_Free_Context *context,
                    {
                       if (IS_SIMPLE_TYPE(echnk.type) &&
                           eet_data_type_match(echnk.type, ede->type))
-                        type = echnk.type;
+                        type = ede->type;
                       else if ((echnk.group_type > EET_G_UNKNOWN) &&
                                (echnk.group_type < EET_G_LAST) &&
                                (echnk.group_type == ede->group_type))