Reacted on -Wextra -Wno-unused-parameter warnings of gcc for fs_local.c

This commit is contained in:
Thomas Schmitt 2011-05-21 23:13:40 +02:00
parent a37571c6c5
commit 431d31fff6
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ int lfs_readlink(IsoFileSource *src, char *buf, size_t bufsiz)
/* NULL-terminate the buf */
ret = ISO_SUCCESS;
if (size >= bufsiz) {
if ((size_t) size >= bufsiz) {
ret = ISO_RR_PATH_TOO_LONG;
size = bufsiz - 1;
}