From: Kern Sibbald Date: Sun, 9 Aug 2009 14:09:48 +0000 (+0200) Subject: Fix compiler warnings in acl and xattr code X-Git-Tag: Release-5.0.0~333^2~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d22b0bc45ead3d714d8f58be0467b4a2f06ec3b9;p=bacula%2Fbacula Fix compiler warnings in acl and xattr code --- diff --git a/bacula/src/filed/acl.c b/bacula/src/filed/acl.c index 5a26b80abe..ca8313a2e3 100644 --- a/bacula/src/filed/acl.c +++ b/bacula/src/filed/acl.c @@ -592,7 +592,7 @@ static bacl_exit_code generic_build_acl_streams(JCR *jcr, FF_PKT *ff_pkt) static bacl_exit_code generic_parse_acl_streams(JCR *jcr, int stream) { - int cnt; + unsigned int cnt; switch (stream) { case STREAM_UNIX_ACCESS_ACL: @@ -1240,7 +1240,7 @@ bacl_exit_code build_acl_streams(JCR *jcr, FF_PKT *ff_pkt) bacl_exit_code parse_acl_streams(JCR *jcr, int stream) { - int cnt; + unsigned int cnt; switch (stream) { case STREAM_UNIX_ACCESS_ACL: diff --git a/bacula/src/filed/xattr.c b/bacula/src/filed/xattr.c index 20a438e64b..c444d62093 100644 --- a/bacula/src/filed/xattr.c +++ b/bacula/src/filed/xattr.c @@ -1868,7 +1868,7 @@ bxattr_exit_code build_xattr_streams(JCR *jcr, FF_PKT *ff_pkt) bxattr_exit_code parse_xattr_streams(JCR *jcr, int stream) { - int cnt; + unsigned int cnt; if (os_parse_xattr_streams) { /* diff --git a/bacula/technotes b/bacula/technotes index e5c7ea8c15..6a20153a9a 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -3,6 +3,7 @@ General: 09Aug09 +kes Fix compiler warnings in acl and xattr code kes Fix screw up with setting JobLevel and JobType kes Change version kes Apply Marco's acl/xattr rework code