From 431d31fff6f59302016c1abf44c979033c086ab8 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 21 May 2011 23:13:40 +0200 Subject: [PATCH] Reacted on -Wextra -Wno-unused-parameter warnings of gcc for fs_local.c --- libisofs/fs_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/fs_local.c b/libisofs/fs_local.c index 275a14e..fef7dd3 100644 --- a/libisofs/fs_local.c +++ b/libisofs/fs_local.c @@ -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; }