diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-12-09 11:05:48 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-12-09 11:08:38 +0900 |
commit | 509cce5e433a9e524be276b7b89fb12fae666bff (patch) | |
tree | 5447f44898ce403785fdc8da43198fe1ab636cff | |
parent | 68e6e46015ebd3b52fd360e532a635e133a364bf (diff) | |
download | efl-509cce5e433a9e524be276b7b89fb12fae666bff.tar.gz |
eina: Set magic number in eina_file_virtualize
This fixes make check
-rw-r--r-- | src/lib/eina/eina_file_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c index 8914cb1dbe..2c5eeb1bf0 100644 --- a/src/lib/eina/eina_file_common.c +++ b/src/lib/eina/eina_file_common.c @@ -419,6 +419,7 @@ eina_file_virtualize(const char *virtual_name, const void *data, unsigned long l if (!file) return NULL; memset(file, 0, sizeof(Eina_File)); + EINA_MAGIC_SET(file, EINA_FILE_MAGIC); file->filename = (char*) (file + 1); if (virtual_name) strcpy((char*) file->filename, virtual_name); |