From 1a3d60e1fc08d23194dd735c70c5984c69c4f948 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 16 Apr 2004 21:58:55 +0000 Subject: [PATCH] 2004-03-18 Dmitry V. Levin * resource.c (sys_quotactl) [LINUX]: Cast arithmetic shift operand from long to unsigned long, to fix output of the quotactl command parser. --- resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource.c b/resource.c index 8e646606..4692a37b 100644 --- a/resource.c +++ b/resource.c @@ -499,7 +499,7 @@ sys_quotactl(tcp) struct tcb *tcp; { if (entering(tcp)) { - printxval(quotacmds, tcp->u_arg[0] >> SUBCMDSHIFT, "Q_???"); + printxval(quotacmds, (unsigned long) tcp->u_arg[0] >> SUBCMDSHIFT, "Q_???"); tprintf("|"); printxval(quotatypes, tcp->u_arg[0] & SUBCMDMASK, "???QUOTA"); tprintf(", "); -- 2.50.1