eina vpath - fix windows warning as simply as possible

the warning is wrong - so keep things simple
This commit is contained in:
Carsten Haitzler 2019-04-18 11:33:10 +01:00
parent cb33853ee8
commit 70a7dfff46
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ eina_xdg_env_init(void)
s = getenv(_env); \
if (!s) s = home; \
} else s = home; \
if (_dir) FATAL_SNPRINTF(_meta, "vpath string '%s' truncated - fatal", "%s\\%s", s, _dir); \
if (_dir) FATAL_SNPRINTF(_meta, "vpath string '%s' truncated - fatal", "%s\\%s", s, (char *)_dir); \
else FATAL_SNPRINTF(_meta, "vpath string '%s' truncated - fatal", "%s\\", s); \
(&user)->_meta = _meta;