* eet: Fix convertion from any float type to any other float type.

SVN revision: 44239
This commit is contained in:
Cedric BAIL 2009-12-07 09:33:20 +00:00
parent 5a5d81812c
commit 5dd7275c9a
2 changed files with 4 additions and 1 deletions

View File

@ -270,3 +270,6 @@
* 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.

View 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))