Evas: Filter: Fix filter length assignment.

Fun fact... this works on 64 bit systems... well mine anyway, but falls over
in a horrible mess on 32bit systems.

SVN revision: 58763
This commit is contained in:
Brett Nash 2011-04-20 14:44:32 +00:00
parent 8809ce8a12
commit e410651d24
1 changed files with 1 additions and 0 deletions

View File

@ -446,6 +446,7 @@ evas_filter_key_get(const Evas_Filter_Info *info, uint32_t *lenp)
if (!key) return NULL;
if (finfo->datasize) memcpy(key, info->data, finfo->datasize);
key[finfo->datasize] = info->filter;
if (lenp) *lenp = len;
return key;
}