From: Daniel Hokka Zakrisson Date: Mon, 27 Oct 2008 23:52:58 +0000 (+0000) Subject: ULL is needed to get a 64-bit wide integer. X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3946d90487a8234e2ea12e4567f22fad24d642b3;p=util-vserver.git ULL is needed to get a 64-bit wide integer. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2799 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/lib/bcaps-v13.c b/lib/bcaps-v13.c index a46dde5..7a5cece 100644 --- a/lib/bcaps-v13.c +++ b/lib/bcaps-v13.c @@ -29,15 +29,7 @@ #include #include -#define DECL(VAL) { #VAL, sizeof(#VAL)-1, 1 << (CAP_ ## VAL) } - -#ifndef CAP_AUDIT_WRITE -# define CAP_AUDIT_WRITE 29 -#endif - -#ifndef CAP_AUDIT_CONTROL -# define CAP_AUDIT_CONTROL 30 -#endif +#define DECL(VAL) { #VAL, sizeof(#VAL)-1, 1ULL << (VC_CAP_ ## VAL) } static struct Mapping_uint64 const VALUES[] = { DECL(CHOWN),