1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-28 19:05:51 +01:00

Silence a few warnings

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
Tamas TEVESZ
2010-09-29 03:16:55 +02:00
committed by Carlos R. Mafra
parent 14863cd3b1
commit 7859e2d59f
4 changed files with 7 additions and 7 deletions

View File

@@ -74,7 +74,7 @@ static char *checkFile(char *path, char *folder, char *ext, char *resource)
slen = strlen(path) + strlen(resource) + 1 + extralen;
ret = wmalloc(slen);
if (strlcpy(ret, path, slen) >= slen)
if (wstrlcpy(ret, path, slen) >= slen)
goto error;
if (folder &&